kubernetes / enhancements

Enhancements tracking repo for Kubernetes
Apache License 2.0
3.45k stars 1.49k forks source link

KEP-753: Update documentation to clarify `restartPolicy` behavior #4880

Closed gjkim42 closed 1 month ago

gjkim42 commented 1 month ago
- One-line PR description:

The implementation is different from the current documentation. This updates the documentation to clarify the relationship between the container-level restartPolicy and the pod-level restartPolicy.

We may introduce a new concept (or policy) for the restart behavior of the initialization.

/cc @SergeyKanzhelev

pacoxu commented 1 month ago

/lgtm if we do not want to change the behavior, we should sync the current behavior to the KEP.

k8s-ci-robot commented 1 month ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gjkim42, mrunalp, SergeyKanzhelev

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[keps/sig-node/OWNERS](https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/OWNERS)~~ [mrunalp] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment