kubernetes / kubernetes/website

Clarify init container, regular init container, non-init container and sidecar container

Open
#52,510 16 comments 0 reactions 1 assignee Claimed by @icarocamelo View on GitHub
kind/feature language/en priority/backlog sig/docs sig/node triage/accepted
Dominant language
HTML
Stars
5.4k
Forks
15.7k
Avg merge
4d 18h
Merged PRs (30d)
204

Description

**This is a Feature Request**

The use of init container, non-init container, regular init container and sidecar container is fairly confusing in this doc https://github.com/kubernetes/website/blob/main/content/en/docs/concepts/workloads/pods/sidecar-containers.md#resource-sharing-within-containers . For example in the resource-sharing-within-containers section it is not clean if (non-init containers) excludes init containers with `restartPolicy` set to `Always` or only excludes `regular init containers` as defined earlier in the doc.

**What would you like to be added**

This PR attempts to make that clarification https://github.com/kubernetes/website/pull/52509

**Why is this needed**

The terminology for sidecar containers is fairly confusing. In the pointed out section, the problem is especially acute.

**Comments**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.