svg></div><div class=content>以下策略将对整个命名空间强制开启 STRICT mTLS。</div></aside></div><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ cat &lt;&lt;EOF | kubectl apply -f -
apiVersion: security.istio.io/v1beta1
kind: PeerAuthentication
metadata:
  name: echo-mtls
  namespace: echo-grpc
spec:
  mtls:
    mode: STRICT
EOF</code></pre><p>应用该策略后，请求将被成功发送。</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ grpcu