charts icon indicating copy to clipboard operation
charts copied to clipboard

Helm chart support for clusters that don't have DNS

Open syk-coder opened this issue 6 years ago • 0 comments

Hi Currently, the helm charts are referring to the pods by the hostnames at various config locations. In clusters where there is no support for DNS, all the various components are registering themselves with hostnames instead of IP addresses.

As DNS is not present in the cluster, the clients and the other components in the clusters are not able to resolve the hostnames to IP address and they are not able to connect.

I have tried to follow this https://github.com/streamnative/charts/blob/adbdb0b60a370338cac01c14ed61c627f5575205/charts/pulsar/templates/broker/broker-statefulset.yaml#L239 for changing the advertised address for the pod to contain IP instead of hostname, but there are other locations where the hostname is used.

Some places where we need this to be changed is https://github.com/streamnative/charts/blob/adbdb0b60a370338cac01c14ed61c627f5575205/charts/pulsar/templates/broker/broker-statefulset.yaml#L208

https://github.com/streamnative/charts/blob/adbdb0b60a370338cac01c14ed61c627f5575205/charts/pulsar/templates/pulsar-cluster-initialize.yaml#L100

syk-coder avatar Oct 23 '20 18:10 syk-coder