Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update command #24

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

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