-
Notifications
You must be signed in to change notification settings - Fork 76
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
POD not getting sidecar even though injection is requested #61
Comments
Very same here. Running on Azure Kubernetes with K8s v1.23.5 |
Got the same issue on AWS EKS v1.21, but made it to work. Looks like main problem lies in
which was refused by K8s in my case, had to modify it to
To conform with K8s requirements for this API version, I had to add additional keys for Two WAG's followed :: first one for Change of Hope this helps. |
So helpful! Thank you! I also had this issue. I've taken your image updates and pushed it to docker hub if anyone else would like to use it. Change the
Note, this image works with the updated mutating webhook configuration where the |
What's going on?
PODs are not getting sidecars, even though the injection is requested. Funnily I got it to work once on a training cluster, and then I deleted the cluster and I can't get it to work again.
Expected Behavior
PODs should get created with sidecar.
Reproducer
I just went through the documentation step by step, and I can't identify what I'm doing wrong, or what I did differently that one time I got it to work.
Here are some logs for when the
debian-debug
POD gets deployed, but no sidecar.Here's the
debian-debug
POD with no sidecar.$ kubectl get po | grep debian
Version Deets
k8s-sidecar-injector
Version:latest
(as of March 23rd 2022)The text was updated successfully, but these errors were encountered: