godaddy/kubernetes-client

Is there a way to get notification when deploy finished?

Open

#244 aperta il 30 mar 2018

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)JavaScript (206 fork)batch import
help wantedrequest for example

Metriche repository

Star
 (954 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor