><p>例如，你收到这个错误:</p><pre><code class=language-plain data-expandlinks=true data-repo=istio>Error [IST0101] (VirtualService httpbin.default) Referenced gateway not found: &#34;httpbin-gateway-bogus&#34;
</code></pre><p>在这个例子中, <code>VirtualService</code> 指向一个不存在的网关:</p><pre><code class=language-yaml data-expandlinks=true data-repo=istio>apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: httpbin-gateway
spec:
  selector:
    istio: ingres