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

Raise scheduler/controller-manager replicas in multi-master #312

Merged
merged 1 commit into from
Oct 13, 2018

Conversation

dghubble
Copy link
Member

  • Continue to ensure scheduler and controller-manager run at least two replicas to support performing kubectl edits on single-master clusters (no change)
  • For multi-master clusters, set scheduler / controller-manager replica count to the number of masters (e.g. a 3-master cluster previously used replicas:2, now replicas:3)

Motivation:

kube-apiserver has always been run as a DaemonSet across controllers to provide high availability, but scheduler and controller-manager were always run with replicas 2 (sufficient to support kubectl edits of the control plane without downtime). But if a cluster is running multiple controller nodes, we might as well run a higher replica count, tending toward one per node (users are paying for the nodes either way).

* Continue to ensure scheduler and controller-manager run
at least two replicas to support performing kubectl edits
on single-master clusters (no change)
* For multi-master clusters, set scheduler / controller-manager
replica count to the number of masters (e.g. a 3-master cluster
previously used replicas:2, now replicas:3)
@dghubble dghubble force-pushed the scheduler-cm-replicas branch from e8f8538 to 43fe78a Compare October 13, 2018 23:16
@dghubble dghubble merged commit 43fe78a into master Oct 13, 2018
@dghubble dghubble deleted the scheduler-cm-replicas branch October 14, 2018 04:22
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