You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently use following seq to provision my nodegroup
EKS Control provisioned by Terraform.
Karpenter Pods with Fargate Profile will provision the nodegroup referencing the AMI.
NodeGroup is provisioned with CoreDNS the first pod to get placed.
A grant is been created on the Key owner account & cross-account-kms on the consumer account
I was curious to know, if there are any other piece of infra need to integrated so that Karpenter can create nodegroups from AMIs that have encrypted snapshot with an external residing CMK.
The text was updated successfully, but these errors were encountered:
There is one thing that I missed out on, I was able it work by creating a 'new' Grant in the account that is consuming the KMS for the autoscaling role.
Support engineers indicate that this should be a one time activity for when a new autoscaling role get created.
Please describe your question here
A quite simple problem statement has bugged me lately,
Karpenter is unable to provision node groups with AMI that have the EBS volume encrypted with a CMK in an external account.
As the node get created, however instantaneous get terminated due error message : [Client.InvalidKMSKey.InvalidState]
I followed this AWS Document, that'll help me add permissions to the karpenter-worker-nodes roles. however I still get the same error.
The role file looks like this ::
resource "aws_iam_role_policy_attachment" "karpenter_controller_attach" {
depends_on = [aws_iam_policy.karpenter_controller, aws_iam_role.karpenter_controller]
role = aws_iam_role.karpenter_controller.name
policy_arn = aws_iam_policy.karpenter_controller.arn
}
`
Few Qs,
I currently use following seq to provision my nodegroup
A grant is been created on the Key owner account & cross-account-kms on the consumer account
I was curious to know, if there are any other piece of infra need to integrated so that Karpenter can create nodegroups from AMIs that have encrypted snapshot with an external residing CMK.
The text was updated successfully, but these errors were encountered: