What were you trying to accomplish?
Redeploy nodegroup that failed to deploy earlier, cloud formation is in ROLLBACK_COMPLETE state.
How to reproduce it?
- Create node group with restricted labels using conf:
- name: test
instanceType: m5.large
minSize: 1
maxSize: 2
desiredCapacity: 2
labels:
role: test
kubernetes.io/test: ok
-
It should fail with expected message: AWS::EKS::Nodegroup/ManagedNodeGroup: CREATE_FAILED – "Label cannot contain reserved prefixes [kubernetes.io/, k8s.io/, eks.amazonaws.com/]
-
Update config to fix labels:
- name: test
instanceType: m5.large
minSize: 1
maxSize: 2
desiredCapacity: 2
labels:
role: test
node-role.kubernetes.io/test: ok
What happened?
Node group wasn't updated. No errors thrown, see output below.
Logs
2021-07-22 13:00:13 [ℹ] eksctl version 0.57.0
2021-07-22 13:00:13 [ℹ] using region us-east-1
2021-07-22 13:00:24 [ℹ] nodegroup "services" will use "" [AmazonLinux2/1.18]
2021-07-22 13:00:24 [ℹ] nodegroup "test" will use "" [AmazonLinux2/1.18]
2021-07-22 13:00:24 [ℹ] nodegroup "workers" will use "" [AmazonLinux2/1.18]
2021-07-22 13:00:31 [ℹ] 3 existing nodegroup(s) (services,test,workers) will be excluded
2021-07-22 13:00:33 [ℹ] 2 sequential tasks: { fix cluster compatibility, no tasks }
2021-07-22 13:00:33 [ℹ] checking cluster stack for missing resources
2021-07-22 13:00:36 [ℹ] cluster stack has all required resources
2021-07-22 13:00:36 [ℹ] no tasks
2021-07-22 13:00:36 [✔] created 0 nodegroup(s) in cluster "testcluster"
2021-07-22 13:00:36 [✔] created 0 managed nodegroup(s) in cluster "testcluster"
2021-07-22 13:00:41 [ℹ] checking security group configuration for all nodegroups
2021-07-22 13:00:41 [ℹ] all nodegroups have up-to-date configuration
Anything else we need to know?
Versions
$ eksctl info
eksctl version: 0.57.0
kubectl version: v1.21.2
OS: darwin
What were you trying to accomplish?
Redeploy nodegroup that failed to deploy earlier, cloud formation is in
ROLLBACK_COMPLETEstate.How to reproduce it?
It should fail with expected message:
AWS::EKS::Nodegroup/ManagedNodeGroup: CREATE_FAILED – "Label cannot contain reserved prefixes [kubernetes.io/, k8s.io/, eks.amazonaws.com/]Update config to fix labels:
What happened?
Node group wasn't updated. No errors thrown, see output below.
Logs
Anything else we need to know?
Versions