-
Notifications
You must be signed in to change notification settings - Fork 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
MutatingWebhookConfiguration Failing on Not Found Error #4016
Comments
There are actually two webhooks:
Are you using the v0.27.2 version of the Karpenter helm chart? There is a common problem when using argoCD to deploy Karpenter. There seems to be a bug in argo where old webhooks are not cleaned up. These issues are related: #3673 #1971 |
We are now using v0.27.5 of the Helm chart. I upgraded in the hope that this error would disappear but it didn't I did notice that we had old webhooks a few versions ago and manually cleaned them up. But we are still seeing this error This |
Are you running the correct image for v0.27.5? The latest version of Karpenter should not be looking for the webhook: https://github.com/aws/karpenter-core/blob/main/pkg/webhooks/webhooks.go#L53 |
The tag on the image was v0.27.2 not v0.27.5 (the helm chart docs had that in the values file for the release tag). This fixed the issue |
Version
Karpenter Version: v0.27.2
Kubernetes Version: v1.24.13-eks-0a21954
Expected Behavior
Not receiving the "not found" error in the logs for a mutatingwebhookconfiguration when it is ending with .aws instead of .io.
Actual webhook name
defaulting.webhook.karpenter.k8s.aws
Searching for
defaulting.webhook.karpenter.sh
Actual Behavior
Receiving Error in logs
"error retrieving webhook: mutatingwebhookconfiguration.admissionregistration.k8s.io \"defaulting.webhook.karpenter.sh\" not found"
Steps to Reproduce the Problem
Deploy above version to AWS EKS using ArgoCD and let it populate all data
Resource Specs and Logs
Community Note
The text was updated successfully, but these errors were encountered: