跳转至

nginx-ingress-controller-nginx-version

install

helm repo add nginx-stable https://helm.nginx.com/stable
helm repo update
helm install my-release nginx-stable/nginx-ingress

kubectl annotate service/my-release-nginx-ingress \
  service.beta.kubernetes.io/aws-load-balancer-type=nlb
      nginx.ingress.kubernetes.io/rewrite-target: /:q


  annotations:
    service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp
    service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: '60'
    service.beta.kubernetes.io/aws-load-balancer-cross-zone-load-balancing-enabled: 'true'
    service.beta.kubernetes.io/aws-load-balancer-type: nlb

or
git clone https://github.com/nginxinc/kubernetes-ingress.git --branch v2.3.0
cd kubernetes-ingress/deployments/helm-chart
helm install my-release .

app expose