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

Set statefulset update and management policy explicitly #514

Closed
Jan-M opened this issue Mar 7, 2019 · 1 comment
Closed

Set statefulset update and management policy explicitly #514

Jan-M opened this issue Mar 7, 2019 · 1 comment
Assignees

Comments

@Jan-M
Copy link
Member

Jan-M commented Mar 7, 2019

https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies

We can set the "Management Policy" to parallel. All pods can spawn in parallel, Patroni takes care of picking the leader and doing bootstrap exactly once. This also helps to scale up if there is issues in the pods 0...n-1

The "Update Strategy" needs to be "onDelete" as the operator is aware of how to deal with rolling upgrades and switchovers and not so much the kubernetes controller.

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

No branches or pull requests

2 participants