vg class="large-icon"><use xlink:href="/v1.26/img/icons.svg#callout-warning"/></svg></div><div class=content><code>NodePort</code> 需要是一个可用端口。</div></aside></div><pre><code class=language-yaml data-expandlinks=true data-repo=istio>apiVersion: v1
kind: Service
metadata:
  name: my-ingressgateway
  annotations:
    service.beta.kubernetes.io/aws-load-balancer-type: nlb
  labels:
    app: my-ingressgateway
    istio: my-ingressgateway
spec:
  type: LoadBalancer
  selector:
    app: my-ingres