�息。</p><h2 id=example>示例</h2><p>当您的策略选择器匹配到某个 Kubernetes Gateway 时，您将收到类似的消息：</p><pre><code class=language-plain data-expandlinks=true data-repo=istio>Warning [IST0166] (AuthorizationPolicy default/ap-ineffective testdata/k8sgateway-selector.yaml:47) Ineffective selector on
Kubernetes Gateway bookinfo-gateway. Use the TargetRef field instead.
</code></pre><p>例如，当您有一个这样的 Kubernetes Gateway Pod：</p><pre><code class=language-yaml