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

[Bug] cluster-dns-ip not supported for bottlerocket settings #6834

Closed
kramuenke-catch opened this issue Jul 19, 2023 · 3 comments · Fixed by #6931
Closed

[Bug] cluster-dns-ip not supported for bottlerocket settings #6834

kramuenke-catch opened this issue Jul 19, 2023 · 3 comments · Fixed by #6931
Assignees
Labels

Comments

@kramuenke-catch
Copy link

Hi all,

we are trying to use cluster-dns-ip setting for a bottlerocket nodegroup. When using

  bottlerocket:
    settings:
      kubernetes:
        cluster-dns-ip: ["169.254.20.10","172.20.0.10"]

we get the following error:

Error:
 could not create cluster provider from options: invalid Bottlerocket 
setting: use nodeGroups[0].clusterDNS instead 
(path=nodeGroups[0].kubernetes.cluster-dns-ip)

Since we aim to use both node-local-dns ip and cluster ip we can not use nodeGroups[0].clusterDNS as an alternative.

@github-actions
Copy link
Contributor

Hello kramuenke-catch 👋 Thank you for opening an issue in eksctl project. The team will review the issue and aim to respond within 1-5 business days. Meanwhile, please read about the Contribution and Code of Conduct guidelines here. You can find out more information about eksctl on our website

@kramuenke-catch
Copy link
Author

kramuenke-catch commented Jul 19, 2023

e.g. is it possible to revisit treating this as an overlap error since cluster-dns-ip supports a single IP and a list of IPs and clusterDNS only supports a single IP.

@cPu1
Copy link
Collaborator

cPu1 commented Jul 24, 2023

@kramuenke-catch this is a valid issue. Since kubernetes.cluster-dns-ip allows specifying a set of nameserver IPs, and nodeGroup.clusterDNS does not, eksctl should allow setting kubernetes.cluster-dns-ip if clusterDNS is not specified. We'll work on a fix soon.

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

Successfully merging a pull request may close this issue.

2 participants