Change:
Is this a BUG REPORT or FEATURE REQUEST?: /kind feature What happened: In our CI, we run multiple times in parallel when we update multiple deployments. This lets us see the status of all deployments as they run. When a deployment succeeds, the final message tells us the name of the deployment. However, the intermediate "Waiting for rollout to finish" messages do not say the name of the deployment. This means that in order to look at multiple rollouts in parallel, we need to manually pipe through another command to prefix it with the rollout name. What you expected to happen: Each line to mention the rollout name. How to reproduce it (as minimally and precisely as possible): Update any deployment, run , note that intermediate status names don't contain the deployment name. Anything else we need to know?: Arguably another fix would be to allow you to pass multiple rollouts to and have kubectl handle polling multiple deployments in parallel. Environment: This is still true on master by code inspection.
Reiterating the mentions to trigger a notification: <detailsIn response to : Instructions for interacting with me using PR comments are available . If you have questions or suggestions related to my behavior, please file an issue against the repository. </details

Discussion:
return "", false, fmt.Errorf("deployment %q exceeded its progress deadline", name) } if deployment.Spec.Replicas != nil && deployment.Status.UpdatedReplicas < *deployment.Spec.Replicas { <del> return fmt.Sprintf("Waiting for rollout to finish: %d out of %d new replicas have been updated...n", deployment.Status.UpdatedReplicas, *deployment.Spec.Replicas), false, nil </del> <ins> return fmt.Sprintf("Waiting for deployment %q rollout to finish: %d out of %d new replicas have been updated...n", name, deployment.Status.UpdatedReplicas, *deployment.Spec.Replicas), false, nil </ins> } if deployment.Status.Replicas > deployment.Status.UpdatedReplicas { <del> return fmt.Sprintf("Waiting for rollout to finish: %d old replicas are pending termination...n", deployment.Status.Replicas-deployment.Status.UpdatedReplicas), false, nil </del> <ins> return fmt.Sprintf("Waiting for deployment %q rollout to finish: %d old replicas are pending termination...n", name, deployment.Status.Replicas-deployment.Status.UpdatedReplicas), false, nil </ins> } if deployment.Status.AvailableReplicas < deployment.Status.UpdatedReplicas { <del> return fmt.Sprintf("Waiting for rollout to finish: %d of %d updated replicas are available...n", deployment.Status.AvailableReplicas, deployment.Status.UpdatedReplicas), false, nil </del> <ins> return fmt.Sprintf("Waiting for deployment %q rollout to finish: %d of %d updated replicas are available...n", name, deployment.Status.AvailableReplicas, deployment.Status.UpdatedReplicas), false, nil </ins> } return fmt.Sprintf("deployment %q successfully rolled outn", name), true, nil }

} if daemon.Generation <= daemon.Status.ObservedGeneration { if daemon.Status.UpdatedNumberScheduled < daemon.Status.DesiredNumberScheduled { <del> return fmt.Sprintf("Waiting for rollout to finish: %d out of %d new pods have been updated...n", daemon.Status.UpdatedNumberScheduled, daemon.Status.DesiredNumberScheduled), false, nil </del> <ins> return fmt.Sprintf("Waiting for daemon set %q rollout to finish: %d out of %d new pods have been updated...n", name, daemon.Status.UpdatedNumberScheduled, daemon.Status.DesiredNumberScheduled), false, nil </ins> } if daemon.Status.NumberAvailable < daemon.Status.DesiredNumberScheduled { <del> return fmt.Sprintf("Waiting for rollout to finish: %d of %d updated pods are available...n", daemon.Status.NumberAvailable, daemon.Status.DesiredNumberScheduled), false, nil </del> <ins> return fmt.Sprintf("Waiting for daemon set %q rollout to finish: %d of %d updated pods are available...n", name, daemon.Status.NumberAvailable, daemon.Status.DesiredNumberScheduled), false, nil </ins> } return fmt.Sprintf("daemon set %q successfully rolled outn", name), true, nil }

UnavailableReplicas: 0, }, <del> msg:  "Waiting for rollout to finish: 0 out of 1 new replicas have been updated...n", </del> <ins> msg:  "Waiting for deployment "foo" rollout to finish: 0 out of 1 new replicas have been updated...n", </ins> done: false, }, {

UnavailableReplicas: 0, }, <del> msg:  "Waiting for rollout to finish: 1 old replicas are pending termination...n", </del> <ins> msg:  "Waiting for deployment "foo" rollout to finish: 1 old replicas are pending termination...n", </ins> done: false, }, {

UnavailableReplicas: 1, }, <del> msg:  "Waiting for rollout to finish: 1 of 2 updated replicas are available...n", </del> <ins> msg:  "Waiting for deployment "foo" rollout to finish: 1 of 2 updated replicas are available...n", </ins> done: false, }, {

NumberAvailable:        0, }, <del> msg:  "Waiting for rollout to finish: 0 out of 1 new pods have been updated...n", </del> <ins> msg:  "Waiting for daemon set "foo" rollout to finish: 0 out of 1 new pods have been updated...n", </ins> done: false, }, {

NumberAvailable:        1, }, <del> msg:  "Waiting for rollout to finish: 1 of 2 updated pods are available...n", </del> <ins> msg:  "Waiting for daemon set "foo" rollout to finish: 1 of 2 updated pods are available...n", </ins> done: false, }, {