Skip to content

Main container doesn't get stopped prior to sidecar containers #50859

Open
@alghe-global

Description

@alghe-global

This is a Bug Report

Problem:
Sidecar containers documentation seems to be wrong in saying that main container is stopped before sidecar container.

Documentation: https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/#sidecar-containers-and-pod-lifecycle

Tests that proves sidecar gets stopped first prior to main container: https://kubernetes.slack.com/archives/C0BP8PW9G/p1746008313521029?thread_ts=1746008313.521029&cid=C0BP8PW9G

Proposed Solution:
Sidecar containers get killed first prior to main container.

Page to Update:
https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/#sidecar-containers-and-pod-lifecycle

The fix needs to get a technical review from SIG Node

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.priority/backlogHigher priority than priority/awaiting-more-evidence.sig/nodeCategorizes an issue or PR as relevant to SIG Node.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions