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

What is the best deployment model on kubernetes? #901

Open
jackin853 opened this issue Dec 22, 2022 · 0 comments
Open

What is the best deployment model on kubernetes? #901

jackin853 opened this issue Dec 22, 2022 · 0 comments

Comments

@jackin853
Copy link

At present, I have taken over a cluster. The default deployment mode is three keepers, three sentinels, and three proxies, and DaemonSet Controller is select to control the pod.
At present, I feel that current deployment method is not very reasonable. I have the following ideas. I don’t know if it is reasonable. I hope to get help:

  • Three keeper pods are deployed using DaemonSet (node label selection, one per node). The problem is not particularly big, but I think two keeper pods should be enough, and there is no need to deploy three
  • Three sentinels are deployed using DaemonSet (node label selection, one for each node), which is not very reasonable. I feel that Deployment Controller should be used, so that when one pod is down, the other can be pulled up quickly, and no node label is required bound. Does Sentinel really need three at the same time? Is one enough? Like redis sentinel, does this sentinel need more than one to ensure the correct selection of master? Does sentinel itself need a leader role?
  • Three proxies are deployed using DaemonSet (node label selection, one per node), which is not very reasonable. I feel that it is enough to use Deployment Controller and one replica, and no node label binding is required.
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

1 participant