-
Notifications
You must be signed in to change notification settings - Fork 305
Some pods not receiving a sidecar on cluster boot #276
Comments
@ajaffie, yes I think your analysis is correct here. We had various reasons for running the webhook admission controller in the cluster rather than as part of our managed Dev Spaces endpoint, but I will need to go back and understand why that was. I will respond on this thread when I have more information. |
I think the reason for this was largely a case of not doing the necessary work to enable mutual-TLS (server authenticates with client, client authenticates with server). How frustrating would you say this is for you? I wonder if changing the |
@ajaffie, did you happen to try out the option mentioned by @stepro ? |
Sorry about that, this is kind of a low priority since it's so easily worked around so it got left behind. I've changed the failure policy to |
Describe the bug
We shut down our cluster automatically every night and boot it in the morning because it is solely a dev cluster and does not need to run 24/7. Sometimes, when the cluster boots in the morning, pods deployed in our root dev space via helm in CI/CD do not get sidecars attached. I'm thinking this is caused by the pods starting before the azds admission controller, but I'm not sure. Killing the pods and letting them get re-created by the deployment results in pods with the sidecar injected.
To Reproduce
azds up
.Expected behavior
The pods should always have the sidecar injected.
The text was updated successfully, but these errors were encountered: