Skip to content

[Bug] IPv6 with AutoMode incorrectly returns error when core addons are not specified #8076

@saurav-agarwalla

Description

@saurav-agarwalla

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions