Skip to content

Conversation

@pferrot
Copy link

@pferrot pferrot commented Mar 25, 2016

Updates a cluster by replacing all of the pods in that cluster with. The existing cluster is determined by the cluster name in the YAML definition together with the specified namespace. If the cluster does not exist, no action is taken. If a cluster with the appropriate name exists, then all of its pods are killed and replaced by new ones that are deployed using the provided YAML definition. I.e. the cluster size does not change after the update is completed.

Rolling updates (i.e. pods are replaced one by one) are supported via the --rolling switch. With rolling updates, it is also possible to specify a wait time between pod updates (see the -w parameter).

By default, new pods are deployed before old ones are killed. It is possible to kill old pods first vie the --kill_first switch.

This tool supports optional output in JSON format for 3rd-party integration via the -j switch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant