Authentication
metadata:
  name: &#34;default&#34;
  namespace: &#34;istio-io-health&#34;
spec:
  mtls:
    mode: STRICT
EOF
</code></pre><p>接下来，运行以下命令来部署示例服务：</p><div><a data-skipendnotes=true style=display:none href=https://raw.githubusercontent.com/istio/istio/release-1.22/samples/health-check/liveness-command.yaml>Zip</a><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl -n istio-io-health apply -f &lt;(istioctl kube-inject -f @samples/heal