godaddy/kubernetes-client
View on GitHubIs there a way to get notification when deploy finished?
Open
#244 opened on Mar 30, 2018
help wantedrequest for example
Description
Hi, I'm not a Node.js guy so this bothers me much. I'm trying to use kubernetes-client to patch deployment with new images. I'm looking for a way to have the effect like this:
kubectl rollout status deployment/DEPLOYMENT_NAME -w
This command would keep watching deployment updating all pods it controls. When all pods are ready, this command process would end. I've tried watch api, but the 'data' event will be sent out at the moment deployment is patched successfully, and the process end here.
Is there a way I could do the same thing with kubernetes-client? Thanks in advance.