Skip to content

Add karpenter to eksctl config file, but no upgrade happened #5380

@ozbillwang

Description

@ozbillwang

What were you trying to accomplish?

I have created the EKS cluster.

Then follow the document (https://eksctl.io/usage/eksctl-karpenter/) to add karpenter support,

What happened?

but when I upgrade it, nothing happen.

How to reproduce it?

I have created the EKS cluster.

Then follow the document (https://eksctl.io/usage/eksctl-karpenter/) to add karpenter support,

 metadata:
   name: eks-dev
   region: ap-southeast-2
   version: "1.22"
+  tags:
+    karpenter.sh/discovery: eks-dev

+iam:
+  withOIDC: true # required

+karpenter:
+  version: '0.9.0'

 managedNodeGroups:
 - name: spot

but when I upgrade it, nothing happen.

$ eksctl upgrade cluster -f eks-dev.yaml --approve
2022-06-07 21:08:25 [!]  NOTE: cluster VPC (subnets, routing & NAT Gateway) configuration changes are not yet implemented
2022-06-07 21:08:25 [ℹ]  no cluster version update required
2022-06-07 21:08:26 [ℹ]  re-building cluster stack "eksctl-eks-dev-cluster"
2022-06-07 21:08:26 [✔]  all resources in cluster stack "eksctl-eks-dev-cluster" are up-to-date
2022-06-07 21:08:26 [ℹ]  checking security group configuration for all nodegroups
2022-06-07 21:08:26 [ℹ]  all nodegroups have up-to-date cloudformation templates
$

The NOTE is about to igonre the change for VPC, but Karpenter change is not related to vpc.

So how can I fix this issue?

Logs

Anything else we need to know?

Versions

 $ eksctl info
eksctl version: 0.100.0
kubectl version: v1.21.3
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