I’m having trouble adding DNS configuration (dnsConfig) to my Zookeeper StatefulSet or pods in Kubernetes. Despite following the documentation, the configuration does not seem to take effect.
Expected Behavior:
The DNS configurations specified in the dnsConfig section should be reflected in the pods' /etc/resolv.conf.
Actual Behavior:
The pods do not seem to pick up the specified DNS configurations.
Location
tried to add as below
pod:
dnsConfig:
{{- if .Values.pod.dnsConfig.options }}
options:
{{- range .Values.pod.dnsConfig.options }}
- name: {{ .name }}
{{- if .value }}
value: {{ .value }}
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.pod.labels }}
Request for Help:
If anyone has experience with configuring DNS in Zookeeper deployments or knows how to troubleshoot this issue, your assistance would be greatly appreciated!
Description
I’m having trouble adding DNS configuration (dnsConfig) to my Zookeeper StatefulSet or pods in Kubernetes. Despite following the documentation, the configuration does not seem to take effect.
Expected Behavior:
The DNS configurations specified in the dnsConfig section should be reflected in the pods' /etc/resolv.conf.
Actual Behavior:
The pods do not seem to pick up the specified DNS configurations.
Location
tried to add as below
Request for Help:
If anyone has experience with configuring DNS in Zookeeper deployments or knows how to troubleshoot this issue, your assistance would be greatly appreciated!