cilium-cli icon indicating copy to clipboard operation
cilium-cli copied to clipboard

clustermesh: Support hostname based LoadBalancer

Open jrajahalme opened this issue 4 years ago • 2 comments

Support LoadBalancer that sets a hostname rather than IP, such as EKS.

Revamp the CLUSTER_ADDR parsing in external workload install script to also support host names. Make IPv6 address parsing a bit more rigorous as well.

jrajahalme avatar Apr 20 '21 01:04 jrajahalme

@tgraf changes for external workloads and clustermesh should be similar, in the end both need similar etcd configuration. On that note, could you elaborate on the breakage, is there a fundamental issue that with the ipAlias or an error that could be addressed in the PR? My understanding was that the local ipAlias is only needed to map the name used in etcd config to an IP address. Edit: the name is also used in a certificate?

jrajahalme avatar Apr 20 '21 20:04 jrajahalme

@tgraf An alternative design would do a name lookup in the CLI tool to map the name to an IP address, that would then be used to configure the cluster. I have the understanding that this should work for EKS (i.e., the loadbalancer IPs are stable) and would allow the use of the ipAlias in the usual manner. Thoughts?

jrajahalme avatar Apr 20 '21 20:04 jrajahalme