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
There are versioning issues with the latest versions of karpenter. This causes issues with the service account. See this issue for more details
E0308 10:50:37.563419 1 reflector.go:140] k8s.io/client-go@v0.26.6/tools/cache/reflector.go:169: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: configmaps is forbidden: User "system:serviceaccount:karpenter:karpenter" cannot list resource "configmaps" in API group "" in the namespace "karpenter"
W0308 10:51:15.861739 1 reflector.go:424] k8s.io/client-go@v0.26.6/tools/cache/reflector.go:169: failed to list *v1.ConfigMap: configmaps is forbidden: User "system:serviceaccount:karpenter:karpenter" cannot list resource "configmaps" in API group "" in the namespace "karpenter"
E0308 10:51:15.861856 1 reflector.go:140] k8s.io/client-go@v0.26.6/tools/cache/reflector.go:169: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: configmaps is forbidden: User "system:serviceaccount:karpenter:karpenter" cannot list resource "configmaps" in API group "" in the namespace "karpenter"
W0308 10:51:16.886333 1 reflector.go:424] k8s.io/client-go@v0.26.6/tools/cache/reflector.go:169: failed to list *v1.ConfigMap: configmaps is forbidden: User "system:serviceaccount:karpenter:karpenter" cannot list resource "configmaps" in API group "" in the namespace "karpenter"
E0308 10:51:16.886371 1 reflector.go:140] k8s.io/client-go@v0.26.6/tools/cache/reflector.go:169: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: configmaps is forbidden: User "system:serviceaccount:karpenter:karpenter" cannot list resource "configmaps" in API group "" in the namespace "karpenter"
W0308 10:51:18.990191 1 reflector.go:424] k8s.io/client-go@v0.26.6/tools/cache/reflector.go:169: failed to list *v1.ConfigMap: configmaps is forbidden: User "system:serviceaccount:karpenter:karpenter" cannot list resource "configmaps" in API group "" in the namespace "karpenter"
E0308 10:51:18.990235 1 reflector.go:140] k8s.io/client-go@v0.26.6/tools/cache/reflector.go:169: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: configmaps is forbidden: User "system:serviceaccount:karpenter:karpenter" cannot list resource "configmaps" in API group "" in the namespace "karpenter"
✋ I have searched the open/closed issues and my issue is not listed.
⚠️ Note
Before you submit an issue, please perform the following first:
Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
Re-initialize the project root to pull down modules: terraform init
Re-attempt your terraform plan or apply and check if the issue still persists
If already installed the upgrade, you may get an issue.
```
failed to get API group resources: unable to retrieve the complete list of server APIs: karpenter.sh/v1beta1: the server could not find the requested resource
```
To fix uninstall karpenter and reapply terraform
```bash
helm uninstall karpenter -n karpenter
```
Fixesaws-ia#365
Description
There are versioning issues with the latest versions of karpenter. This causes issues with the service account. See this issue for more details
Before you submit an issue, please perform the following first:
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
terraform init
Versions
Module version [Required]: https://github.com/aws-ia/terraform-aws-eks-blueprints-addons.git?ref=345ce9f
Terraform version: 1.6.0
Reproduction Code [Required]
Steps to reproduce the behavior:
Deploy karpenter pointing to latest helm chart
Expected behaviour
Karpenter runs ok
Actual behaviour
Karpenter crashes with service account permission issues
Terminal Output Screenshot(s)
Additional context
The text was updated successfully, but these errors were encountered: