I have an nginx-ingress controller
with the following config (in helm release):
controller:
service:
loadBalancerIP: "<my-public-ip>"
Public IP was created manually by myself. After I deleted the namespace in AKS I was a bit surprised to see that the public ip was gone as well, rendering all my DNS settings useless.
I assume this is a feature and not a bug in Azure Kubernetes Service, but is it perhaps possible to set a flag somewhere to not delete the public IP?
Of course, I didn't meet this problem, and I tried it again, it also does not happen to me. But you can use the lock to prevent the delete action to the public IP. Here is the screenshot for the lock: