You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2018. It is now read-only.
The check self.obj["status"]["updatedReplicas"] == self.replicas does not necessarily indicate the deployment is successful. It probably works ok if you are doing a create() but not if you are doing an update(). For instance if you have 2 replicas and update the deployment with a surge of 2 you will see an updatedReplicas of 2 but you will also see unavailableReplicas at 2. Following is an example of updating a deployment in this scenario. The True at the end of the line is the ready value.
The check
self.obj["status"]["updatedReplicas"] == self.replicas
does not necessarily indicate the deployment is successful. It probably works ok if you are doing acreate()
but not if you are doing anupdate()
. For instance if you have 2 replicas and update the deployment with a surge of 2 you will see anupdatedReplicas
of 2 but you will also seeunavailableReplicas
at 2. Following is an example of updating a deployment in this scenario. TheTrue
at the end of the line is theready
value.I'm doing this right now but it is ugly. Would love for a cleaner check.
The text was updated successfully, but these errors were encountered: