Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Karpenter example does not work, pods are pending (version 20.8.5) #3027

Closed
1 task done
ioga opened this issue May 6, 2024 · 2 comments · Fixed by #3031
Closed
1 task done

Karpenter example does not work, pods are pending (version 20.8.5) #3027

ioga opened this issue May 6, 2024 · 2 comments · Fixed by #3031

Comments

@ioga
Copy link

ioga commented May 6, 2024

Description

Hello, I am trying out the karpenter example, and karpenter pods won't get scheduled.
Same symptoms as #2943 , but it doesn't work despite the tolerations added in the fix mentioned in that issue. The error message in kubectl describe pod is:

Warning  FailedScheduling  82s (x8 over 36m)   default-scheduler  0/2 nodes are available: 2 Too many pods. preemption: 0/2 nodes are available: 2 No preemption victims found for incoming pod.

CoreDNS pods in kube-system namespace has scheduled fine.

  • ✋ I have searched the open/closed issues and my issue is not listed.

Versions

  • Module version [Required]: 20.8.5

  • Terraform version:

Terraform v1.8.2
on darwin_amd64
+ provider registry.terraform.io/alekc/kubectl v2.0.4
+ provider registry.terraform.io/hashicorp/aws v5.47.0
+ provider registry.terraform.io/hashicorp/cloudinit v2.3.4
+ provider registry.terraform.io/hashicorp/helm v2.13.1
+ provider registry.terraform.io/hashicorp/null v3.2.2
+ provider registry.terraform.io/hashicorp/time v0.11.1
+ provider registry.terraform.io/hashicorp/tls v4.0.5

Reproduction Code [Required]

Stock karpenter example.

Steps to reproduce the behavior:

cd terraform-aws-eks-20.8.5/examples/karpenter/
# update region and cluster name in the `locals` section
terraform init
terraform apply -auto-approve
aws eks --region <region> update-kubeconfig --name <cluster name>
kubectl get pods -n karpenter

Expected behavior

karpenter pods will be running

Actual behavior

karpenter pods are pending

@antonbabenko
Copy link
Member

This issue has been resolved in version 20.10.0 🎉

Copy link

github-actions bot commented Jun 9, 2024

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants