ingress-nginx icon indicating copy to clipboard operation
ingress-nginx copied to clipboard

Duplicate container port warning when applying AWS-nlb-tls-termination deploy file

Open luarx opened this issue 5 months ago • 3 comments

What happened:

service/ingress-nginx-controller-admission created
Warning: spec.template.spec.containers[0].ports[1]: duplicate port definition with spec.template.spec.containers[0].ports[0]
deployment.apps/devstaging-ingress-nginx-controller created

What you expected to happen:

No warnings

NGINX Ingress controller version (exec into the pod and run nginx-ingress-controller --version.): v1.11.2

Kubernetes version (use kubectl version): v1.29

Environment:

  • How was the ingress-nginx-controller installed: By https://github.com/kubernetes/ingress-nginx/blob/main/deploy/static/provider/aws/nlb-with-tls-termination/deploy.yaml

How to reproduce this issue: kubectl apply -f https://github.com/kubernetes/ingress-nginx/blob/main/deploy/static/provider/aws/nlb-with-tls-termination/deploy.yaml

luarx avatar Sep 18 '24 10:09 luarx