Skip to content
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
@ajaffie

Description

@ajaffie

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

  1. Deploy a service into a dev space using the azds chart via helm, not azds up.
  2. Shut down the cluster by turning off the underlying VMs.
  3. Start the VMs.
  4. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions