-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 pod can't use policies created by karpenter module when we have eks and vpc with aws_eks_cluster module #3146
Comments
We are facing same issue as well. Would be great to get this addressed |
this doesn't seem to be a question about this module, nor does it contain a reproduction. I would suggest looking at our Karpenter example to compare and contrast with what you are trying to create |
@bryantbiggs , the example works for me . Is there any key parameter that has to be passed so karpenter controller pod assume the roles and policies in my case ? . since I already tried comparing and cant find solution |
I mean there are a number of factors that need to be considered - the best bet is to compare what we have provided since its a full working solution, all the way down to the Karpenter nodepool and nodeclass |
@bryantbiggs the terraform code is quite complex to me . I am able to run the |
we don't provide guidance on custom implementations, we can only provide support and guidance on what we provide. I'm not sure why you are creating your own custom implementation if its too complex for you all to handle, but perhaps just using the EKS module that we provide would better suit you since it does work (as you have pointed out) |
Understood @bryantbiggs . I would inspect the implementation you have , any pointers on what specific things to look at for the case where pod is not getting permissions ? |
This issue has been automatically marked as stale because it has been open 30 days |
Description
I am trying to integrate karpenter module into my existing
aws_eks_cluster
module but the cluster policies and roles karpenter module creates are not getting attached to my existing cluster and the pod fails giving issues such sqs permission , cant list images .. etc . I see those roles are created in my console but not used up by pods , attaching a admin policy to worker node makes it work .So the question is how can I tell karpenter module to attach those roles and polcies to my existing cluster since I cant find such an example
✋ I have searched the open/closed issues and my issue is not listed.
Versions
Module version : 20.24.0
Terraform version: Terraform v1.9.5
Reproduction Code [Required]
Steps to reproduce the behavior:
Create the cluster following the steps
Then pass the cluster name to karpenter module
Expected behavior
Karpenter pod up and running + readiness of nodepools and ec2nodeclass
Actual behavior
karpenter pod crashes and gives permissions related errors
Terminal Output Screenshot(s)
Additional context
The text was updated successfully, but these errors were encountered: