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] IPv6 with AutoMode incorrectly returns error when core addons are not specified #8076

Closed
saurav-agarwalla opened this issue Dec 6, 2024 · 2 comments · Fixed by #8082
Labels

Comments

@saurav-agarwalla
Copy link

What were you trying to accomplish?

Creating an IPv6 enabled cluster with EKS AutoMode results in incorrect validation errors for missing core addons. With EKS Auto Mode, core addons are not mandatory. We should relax this validation when EKS Auto Mode is enabled.

What happened?

Error: the default core addons must be defined for IPv6; missing addon(s): vpc-cni, coredns, kube-proxy

How to reproduce it?

➜  ~ eksctl create cluster -f eksctl.yaml
Error: the default core addons must be defined for IPv6; missing addon(s): vpc-cni, coredns, kube-proxy
➜  ~
➜  ~ cat eksctl.yaml
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig

metadata:
  name: eks-auto-ipv6
  region: us-west-2

kubernetesNetworkConfig:
  ipFamily: IPv6

autoModeConfig:
  enabled: true

Logs

Anything else we need to know?

N/A

Versions

$ eksctl info
eksctl version: 0.197.0-dev+e96028b65.2024-12-03T11:01:49Z
kubectl version: v1.31.1
OS: darwin
Copy link
Contributor

github-actions bot commented Dec 6, 2024

Hello saurav-agarwalla 👋 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

@saurav-agarwalla saurav-agarwalla changed the title [Bug] IPv6 with AutoMode incorrect returns error when core addons are not specified [Bug] IPv6 with AutoMode incorrectly returns error when core addons are not specified Dec 6, 2024
@saurav-agarwalla
Copy link
Author

While we are at this, we should also add an integration test for IPv6 with auto mode: https://github.com/eksctl-io/eksctl/blob/7991e07ef91333c0a34667e84ba75c0d3a5efc1e/integration/tests/auto_mode/auto_mode_test.go

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.

1 participant