.default) Port name foo-http (port: 80, targetPort: 80) doesn&#39;t follow the naming convention of Istio port.
</code></pre><p>当您的集群有以下 service 时：</p><pre><code class=language-yaml data-expandlinks=true data-repo=istio>apiVersion: v1
kind: Service
metadata:
  name: httpbin
  labels:
    app: httpbin
spec:
  ports:
  - name: foo-http
    port: 8000
    targetPort: 80
  selector:
    app: httpbin
</code></pre><p>在这个示例中，端口 <code>foo-http</code> 并未遵循这个语法：