Giter VIP home page Giter VIP logo

Comments (5)

rkapil avatar rkapil commented on June 11, 2024 1

Description

When the karpenter example is applied, karpenter pods are pending because of taints.

When changed the karpenter helm values, it works:

resource "helm_release" "karpenter" {

  # values ommited

  values = [
    <<-EOT
    # values ommited
    tolerations:
      - effect: NoSchedule
        operator: "Equal"
        key: eks.amazonaws.com/compute-type
        value: fargate
    EOT
  ]
}
  • ✋ I have searched the open/closed issues and my issue is not listed.

Versions

  • Module version: 20.4.0
  • Terraform version:
Terraform v1.6.6
  • Provider version(s):
Terraform v1.6.6
on linux_amd64
+ provider registry.terraform.io/gavinbunney/kubectl v1.14.0
+ provider registry.terraform.io/hashicorp/aws v5.38.0
+ provider registry.terraform.io/hashicorp/cloudinit v2.3.3
+ provider registry.terraform.io/hashicorp/helm v2.12.1
+ provider registry.terraform.io/hashicorp/time v0.10.0
+ provider registry.terraform.io/hashicorp/tls v4.0.5

Reproduction Code [Required]

> cd examples/karpenter/
> terraform apply -approve
# get kubectl credentials
> k get pods - n karpenter
karpenter     karpenter-b8796757b-7gpr2   0/1     Pending   0   17m
karpenter     karpenter-b8796757b-nvw6k   0/1    Pending  0   17m

Expected behavior

karpenter pods running.

Actual behavior

karpenter pods in pending.

I am seeing the same issue, karpenter pods in pending. Just pulled from master today.

from terraform-aws-eks.

auyer avatar auyer commented on June 11, 2024

I am having a similar error. When I check the Events in the Karpenter pod, this is what I get:

Warning  FailedScheduling  15m   fargate-scheduler  Misconfigured Fargate Profile: fargate profile platform-k8s-sandbox-fargate blocked for new launches due to: Pod execution role is not found in auth config or does not have all required permissions for launching fargate pods.

Is this the same as you, @kartoch ?

from terraform-aws-eks.

auyer avatar auyer commented on June 11, 2024

Could this be related to #2912 ?

from terraform-aws-eks.

invalidred avatar invalidred commented on June 11, 2024

Also seeing the same issue, Karpenter pods are in pending state with error

Misconfigured Fargate Profile: fargate profile karpenter blocked for new launches due to: Pod execution role is not found in auth config or does not have all required permissions for launching fargate pods

from terraform-aws-eks.

antonbabenko avatar antonbabenko commented on June 11, 2024

This issue has been resolved in version 20.8.3 🎉

from terraform-aws-eks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.