Skip to content

Issue with k8s.io/docs/concepts/workloads/pods/sidecar-containers/ #51420

Open
@sai-raavi

Description

@sai-raavi

example for sidecar contains of initContainers:
https://raw.githubusercontent.com/kubernetes/website/main/content/en/examples/application/deployment-sidecar.yaml

which we lead container's in pod will in circle loop as init wait for publishing logs
"log tailing sidecar with initContainer" trap, where the main container appears stuck because of how the containers and volumes interact.
Result: Deadlock. Pod is stuck in init.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions