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

why don't you use statefullset to implement ? #14

Closed
orainxiong opened this issue May 5, 2017 · 2 comments
Closed

why don't you use statefullset to implement ? #14

orainxiong opened this issue May 5, 2017 · 2 comments

Comments

@orainxiong
Copy link

No description provided.

@jmccormick2001
Copy link
Contributor

thanks, I'm building the operator to support different deployment strategies and I could support a stateful set model pretty easily, I have examples of this in the containers project as well. What advantages does a statefulset deployment provide over the current default deployment strategy for you?

@jmccormick2001
Copy link
Contributor

I'm currently implementing postgres 'cluster' as Kube Deployments, the postgres master and each postgres replica are contained within a Kube Deployment. I chose this for reasons of flexibility mainly, for example, I can assign a particular Postgres replica to a specific node if I wanted to. I can also assign each postgres component a different storage class. Hope than answers the Issue. regards.

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

No branches or pull requests

2 participants