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

reverted rollingUpdate strategy #300

Merged
merged 4 commits into from
Feb 7, 2018
Merged

reverted rollingUpdate strategy #300

merged 4 commits into from
Feb 7, 2018

Conversation

roffe
Copy link
Collaborator

@roffe roffe commented Feb 7, 2018

reverted changes to daemonsets adding rollingUpdate and documented how to do it for cluster operators

After updating a DaemonSet template, old DaemonSet pods will be killed, and new DaemonSet pods will be created automatically, in a controlled fashion

If your global BGP peers supports gracefull restarts, [rolling updates](https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/) can be used to upgrade your kube-router DaemonSet without network downtime
To enable gracefull BGP restart kube-router must be started with `--bgp-graceful-restart`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should add a comment that global peers also need BGP graceful restart capability enabled.

rollingUpdate:
maxUnavailable: 1

maxUnavailable controlls the maximum number of pods to simultaneously upgrade
Copy link
Collaborator

@andrewsykim andrewsykim Feb 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: s/controlls/controls

@andrewsykim
Copy link
Collaborator

lgtm! (please squah before merging)

@roffe roffe merged commit 3369890 into cloudnativelabs:master Feb 7, 2018
@roffe roffe deleted the rollingupdate-1 branch February 7, 2018 14:20
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.

2 participants