aws-ia / terraform-aws-eks-blueprints-addons

Terraform module which provisions addons on Amazon EKS clusters
https://aws-ia.github.io/terraform-aws-eks-blueprints-addons/main/
Apache License 2.0
256 stars 120 forks source link

Upgrade karpenter to v1 #407

Open askulkarni2 opened 2 months ago

askulkarni2 commented 2 months ago

Community Note

What is the outcome that you are trying to reach?

With this launch, we should default to karpenter v1.

utk231 commented 1 month ago

Is there any ETA on this?

Older version of karpenter doesn't seem to work with 1.30 cluster

{"level":"ERROR","time":"2024-08-28T10:13:51.191Z","logger":"controller.nodeclass","message":"karpenter version is not compatible with K8s version 1.30","commit":"2c8f2a5","ec2nodeclass":"default"}

pthevenet commented 1 month ago

@utk231 For k8s 1.30, only karpenter >=v0.37 is supported, see https://karpenter.sh/docs/upgrading/compatibility/.

Atry commented 2 days ago

I think we need something similar to enable_v1_permissions in terraform-aws-eks.

https://github.com/terraform-aws-modules/terraform-aws-eks/blob/00d4cc1373d97a5abfa05b7cc75e9c9a189e4d5f/modules/karpenter/variables.tf#L120-L124