-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[Bug] Can't disable default addons with auto mode #8164
Copy link
Copy link
Closed
Labels
Description
What were you trying to accomplish?
Create a cluster with auto mode enabled and with default addons (metrics-server) disabled.
What happened?
eksctl throws a confusing error (no mention of problematic section). Removing addonsConfig makes the creation run successfully.
How to reproduce it?
Run eksctl create cluster with config containing the following sections:
addonsConfig:
disableDefaultAddons: true
autoModeConfig:
enabled: true
nodeRoleARN: arn:...<redacted>
nodePools: [system]
iam:
withOIDC: true
serviceAccounts:
... # non-empty list required for the problem to triggerLogs
Error: fields nodeGroups, managedNodeGroups, fargateProfiles, karpenter, gitops, iam.serviceAccounts, and iam.podIdentityAssociations are not supported during cluster creation in a cluster without VPC CNI; please remove these fields and add them back after cluster creation is successful
Anything else we need to know?
Versions
eksctl 0.202.0
Reactions are currently unavailable