Document what kubectl rollout status completion means for terminating Pods
This is a Feature Request
What would you like to be added?
On the kubectl rollout status reference, explain what a successful Deployment result means for old Pods:
A Deployment can report a successful rollout while Pods from a previous ReplicaSet are still terminating. If your workflow requires those Pods to exit, wait for their deletion separately.
A link to terminating Deployment Pods would let readers find .status.terminatingReplicas when their cluster exposes it.
Why is this needed?
Release automation can start its next step from the command's successful exit, even while old workers finish shutdown. SIG CLI already explained this contract in kubernetes/kubectl#1628. The reference currently describes watching until the rollout is done. The status viewer checks progress and availability counts and does not consult the terminating-replica counter.
This is a documentation suggestion based on existing behavior. Source review and drafting were assisted by Codex.
This issue is currently awaiting triage.
SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the triage/accepted label.
The triage/accepted label can be added by org members by writing /triage accepted in a comment.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
/assign
I found that the kubectl rollout status reference page is auto-generated. The website contribution guide says generated reference changes should be fixed in the upstream source first. Should this clarification be submitted to kubernetes/kubectl or kubernetes/kubernetes, with the website page regenerated afterward?