Abraham
Abraham

Reputation: 95

Rollout deployment based on selector in kubernetes

In the namespace, I have multiple applications deployed. I would like to rollout the deployment based on selector. Can someone please share how to achieve it?

Thanks

Upvotes: 1

Views: 237

Answers (1)

Hussein Awala
Hussein Awala

Reputation: 5088

You can achieve that by:

kubectl rollout status deployment --selector="key=value"

But this argument is added in kubctl v1.24, so if you have a lower version, you need to update it.

Upvotes: 2

Related Questions