zookeeper-operator icon indicating copy to clipboard operation
zookeeper-operator copied to clipboard

Unable to Add dnsConfig to Zookeeper StatefulSet/Pods

Open mahesh-kore opened this issue 11 months ago • 0 comments

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

  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!

mahesh-kore avatar Nov 14 '24 16:11 mahesh-kore