aws 安装好istio 默认用的是alb 需要改成nlb


1. https://istio.io/latest/zh/docs/setup/getting-started/#download 安装参考文档

安装好istio 默认用的是alb 需要改成nlb

kubectl get svc -n istio-system
kubectl edit svc -n istio-system istio-ingressgateway

1.#编辑先先吧LoadBalancer改为ClusterIP保存退出,删除原有lb

2.#编辑type类型改为LoadBalancer,在annotations里面增加如下行 service.beta.kubernetes.io/aws-load-balancer-type: nlb

annotations:    # by default the type is elb (classic load balancer).
  service.beta.kubernetes.io/aws-load-balancer-type: nlb