website icon indicating copy to clipboard operation
website copied to clipboard

Document what kubectl rollout status completion means for terminating Pods

Open resonance-null opened this issue 3 days ago • 3 comments

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.

resonance-null avatar Dec 01 '26 18:12 resonance-null

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.

kubernetes-prow[bot] avatar Dec 01 '26 18:12 kubernetes-prow[bot]

/assign

Rohit-ATS avatar Dec 02 '26 23:12 Rohit-ATS

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?

Rohit-ATS avatar Dec 02 '26 23:12 Rohit-ATS