Home > Mobile >  Rollout deployment based on selector in kubernetes
Rollout deployment based on selector in kubernetes

Time:08-24

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

CodePudding user response:

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.

  • Related