Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Add dnsConfig to Zookeeper StatefulSet/Pods #618

Open
mahesh-kore opened this issue Nov 14, 2024 · 0 comments
Open

Unable to Add dnsConfig to Zookeeper StatefulSet/Pods #618

mahesh-kore opened this issue Nov 14, 2024 · 0 comments

Comments

@mahesh-kore
Copy link

mahesh-kore commented Nov 14, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant