So I am using the nginx ingress and installed it trough the helm chart:
helm install --set controller.kind=DaemonSet --set controller.service.annotations."service\.beta\.kubernetes\.io/do-loadbalancer-size-slug"="lb-large" --set controller.service.annotations."service\.beta\.kubernetes\.io/do-loadbalancer-hostname"="some\.url\.com" ingress-nginx ingress-nginx/ingress-nginx
This automatically created a loadbalancer on digital ocean as well.
As far as I understand until now, referencing this i have to:
Would this be the right and also easiest approach or is there a simpler way?
Also would upgrading the helm chart, remove the old loadbalancer and create a new one?
Would this be the right and also easiest approach or is there a simpler way?
The steps presented in the question based on official NGINX Ingress Controller wiki are correct and seems to be easiest approach.
Also would upgrading the helm chart, remove the old loadbalancer and create a new one?
After using command helm upgrade
the LoadBalancer will stay the same - the IP address won't change.
By running helm list
command you can see that upgrade took place, by checking REVISION
and UPDATED
fields.
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
ingress-nginx default 4 2021-09-06 10:38:14.447456942 +0000 UTC deployed ingress-nginx-3.35.0 0.48.1