ialDelaySeconds: 5
          periodSeconds: 5
EOF
</code></pre><p>部署完成后，您可以检查 Pod 的应用容器，以查看已更改的路径：</p><pre><code class=language-bash data-expandlinks=true data-outputis=json data-repo=istio>$ kubectl get pod &#34;$LIVENESS_POD&#34; -n istio-io-health-rewrite -o json | jq &#39;.spec.containers[0].livenessProbe.httpGet&#39;
{
  &#34;path&#34;: &#34;/app-health/liveness-http/livez&#34;,
  &#34;port&#34;: 15020,
  &#34;scheme&#34;: &#34;HTTP&#34;
}
</code></