This repository was archived by the owner on Oct 11, 2023. It is now read-only.
This repository was archived by the owner on Oct 11, 2023. It is now read-only.
Some pods not receiving a sidecar on cluster boot #276
Open
Description
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
- Deploy a service into a dev space using the azds chart via helm, not
azds up
. - Shut down the cluster by turning off the underlying VMs.
- Start the VMs.
- The pod may or may not have the devspaces-proxy sidecar injected.
Expected behavior
The pods should always have the sidecar injected.
Metadata
Metadata
Assignees
Labels
No labels