Skip to content

Unable to Add dnsConfig to Zookeeper StatefulSet/Pods #618

Open
@mahesh-kore

Description

@mahesh-kore

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions