<p>I was having ingress installed but I got some error so I tried to reinstall niginx
I run that first comment</p>
<pre><code>kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.47.0/deploy/static/provider/aws/deploy.yaml
</code></pre>
<p>but as I have a custom configuration I tried to install with helm after the run for the first command</p>
<pre><code>helm install nginx nginx-stable/nginx-ingress -f ingress-values.yaml
</code></pre>
<p><strong>ingress-values.yaml</strong></p>
<pre><code>controller:
  service:
    annotations:
      service.beta.kubernetes.io/aws-load-balancer-ssl-cert: &quot;MY_ARN&quot;
      service.beta.kubernetes.io/aws-load-balancer-backend-protocol: &quot;tcp&quot;
      service.beta.kubernetes.io/aws-load-balancer-ssl-ports: &quot;443&quot;
    httpsPort:
      targetPort: 8443
</code></pre>
<p>but all hosts went down now and I got that error</p>
<pre><code>Error syncing load balancer: failed to ensure load balancer: error creating load balancer listener: &quot;DuplicateListener: A listener already exists on this port for this load balancer 'arn:aws:elasticloadbalancing:us-east-2:XX:loadbalancer/net/XX/XX'\n\tstatus code: 400, request id: e9ef7a56-d3f7-473c-adbb-1dd0759078e5&quot;
</code></pre>

Mina Fawzy
<p>This happens cause I install nginx twice in different namespaces</p>
<p>I fixed it by remove helm install</p>
