tes=true style=display:none href=https://raw.githubusercontent.com/istio/istio/release-1.23/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/health-check/liveness-command.yaml@)
</code></pre></div><p>要确认存活探针是否正常工作，请检查示例 Pod 的状态以验证它是否正在运行。</p><pre><code class=language-bash data-expandlinks=true data-