when I run kubectl get deploy/my-deploy -o yaml > my-deployment.yaml and modify only the container image tag, and run kubectl apply with the fixed file, is there a command that I can check whether the configured deployment is ready or not?
When I create a new deployment by changing both the image tag AND the deployment name, I check the new deployment’s readiness by checking the .status.conditions[] and selecting the reason MinimumReplicasAvailable. However this is not possible in the case above because the MinimumReplicasAvailable already meets (As the original one before modifying the image tag is already alive).
Any helps or suggestions ?