digitalocean-cloud-controller-manager icon indicating copy to clipboard operation
digitalocean-cloud-controller-manager copied to clipboard

`service.beta.kubernetes.io/do-loadbalancer-hostname`: Use `nip.io` for easier setup?

Open simonhammes opened this issue 1 year ago • 1 comments

Hi,

would it be possible to automatically set the hostname annotation to ${IP}.nip.io when provisioning a loadbalancer that uses the proxy protocol?

This would make it much easier since it would essentially eliminate the need to edit the initial deployment/manually override the annotations on the ingress controller (in case it would be the only override).

The OpenStack CCM does a similar thing: https://github.com/kubernetes/cloud-provider-openstack/pull/1449

This was also proposed by @regnerisch in https://github.com/digitalocean/digitalocean-cloud-controller-manager/issues/291#issuecomment-1712844208


Or, as a different approach: Support https://github.com/kubernetes/enhancements/issues/1860 even though it's still in beta?

I believe this has already been implemented in other CCMs (e.g. here).

Thank you!

simonhammes avatar Aug 26 '24 17:08 simonhammes

https://github.com/digitalocean/digitalocean-cloud-controller-manager/issues/811 is a similar request but for the IpMode option

jtpereyda avatar Jul 21 '25 20:07 jtpereyda