� MySQL 服务</h2><p>在一个能够使用 <code>istioctl</code> 命令的主机上，注册虚拟机和 MySQL 服务：</p><pre><code class=language-command>$ istioctl register -n vm mysqldb &lt;ip-address-of-vm&gt; 3306
I1108 20:17:54.256699   40419 register.go:43] Registering for service &#39;mysqldb&#39; ip &#39;10.150.0.5&#39;, ports list [{3306 mysql}]
I1108 20:17:54.256815   40419 register.go:48] 0 labels ([]) and 1 annotations ([alpha.istio.io/kubernetes-serviceaccounts=default])
W1108 20:17:54.573