<p>I exposed web services for some pods through kubernetes. The ELB's got successfully created for these services. I have modified the listener protocol for these services to HTTPS and HTTP from TCP. Changed ports and certificates accordingly. The ELB is up and running without any issues.</p>

<p>But, after every 2 days, I saw, the protocols and certificates are getting reset to initial state. When I'm doing the required changes, the web-service is up again.</p>

<p>Can anyone tell me what is the reason to this and how can this be solved??</p>

Atanu Dey
<p>I am assuming you are using ALB-ingress-controller.
ALB ingress controller resets it to the setting defined in ALB ingress.</p>

<p>You can set certificates and rules using ingress only using <code>alb.ingress.kubernetes.io/certificate-arn</code> and <code>alb.ingress.kubernetes.io/actions</code> annotations.<br>
Doing this way, your changes won't revert.</p>

<p><a href="https://kubernetes-sigs.github.io/aws-alb-ingress-controller/guide/ingress/annotation/" rel="nofollow noreferrer">https://kubernetes-sigs.github.io/aws-alb-ingress-controller/guide/ingress/annotation/</a></p>
