-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Not clear when/how to configure more than 3 masters #8769
Comments
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Kops won't let you run more than 1 master in a single AZ as far as I know. Any production cluster should definitely run 3 masters. 5 means even more HA (you can live with two AZs unavailable, something (almost) never happens). The best practice note there looks silly. Not sure if AWS even have regions with only 2 AZs anymore. |
Kops let me create 5 masters in 3 zones. |
I see that you are running a fairly old kops version so it could be that this has changed now. I haven't checked though. |
If you use kops 1.17, changing the number of masters should be quite easy anyway. |
Revised the HA docs here #9387 have a look and see if it makes more sense. |
@olemarkus thanks for the notice, I had a look and the changes are helpful for sure. Can you add something about changing the number of masters, or is this in a separate document? When could it makes sense to have more than 3 masters, and in that case should they be spread over equal number of zones? |
You have seen the docs on going from 1 to 3 masters? Procedure is the same. |
1. What
kops
version are you running? The commandkops version
, will displaythis information.
1.13.0
2. What Kubernetes version are you running?
kubectl version
will print theversion if a cluster is running or provide the Kubernetes version specified as
a
kops
flag.1.13.10
3. What cloud provider are you using?
AWS
4. What commands did you run? What is the simplest way to reproduce this issue?
Basically what's not clear is, does it even make sense to have # masters > # zones? If it does make sense, are there rules about the number of zones vs masters. Eg if you have 6 masters, in 3 zones, an one zone fails, you're down to 4 masters; why is that worse than having a 5 master cluster in 3 zones, and the one-master zone fails, then you're also down to 4. This needs to be explained better.
It seems very likely that as time goes, your requirements are going to increase in services and hence number of pods and hence demand on master nodes will increase, and I imagine at some point you will notice the CPU on masters become "too high too often". At that point, you will need to know the above.
5. What happened after the commands executed?
n/a
6. What did you expect to happen?
Have a clear idea of whether increasing master node count from 3 to 5 required that I also increase the # of zones, or if I could stay at 3 zones, and overall I was expecting to have a better understanding of when and how to scale the control plane of a kops-based kubernetes cluster.
7. Please provide your cluster manifest. Execute
kops get --name my.example.com -o yaml
to display your cluster manifest.You may want to remove your cluster name and other sensitive information.
Probably n/a but let me know if applicable
8. Please run the commands with most verbose logging by adding the
-v 10
flag.Paste the logs into this report, or in a gist and provide the gist link here.
Probably not applicable
9. Anything else do we need to know?
Not for now
The text was updated successfully, but these errors were encountered: