当您的集群有以下 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> 并未遵循这个语法：<code>name: &lt;protocol>[-&lt;suffix>]</code>。</p><h2 id=how-to-resolve>如何修复</h2><ul><li>如果您知道 service 端�