We are trying to setup one cluster with 25 worker nodes and 1 master node. Before doing that, we need to choose the hardware, especially for the master node.
How to estimate the hardware resources we need? Do hardware requirements of the master node relate to the size of the cluster? Is there something like offical hareware recommendation or resource rules we can follow?
Best Answer
Well, your question is very general. All depends on many factors, resources you want to use, how nodes will be used, for what purposes, if there will be
HorizontalPodAutoscaler
/ClusterAutoscale
r, what environment you want to use, quota settings, resource limits/requirements and many more.However, if you would go to Kubernetes documentation you will be able to check current Kubernetes version capabilities:
If you would like to run Kubernetes on local environment, you would need to read a lot about kubeadm and Highly Available clusters.
However, if you would decide to use cloud environment like
Google Kubernetes Engine
,Amazon EKS
,Azure Kubernetes Service
,OpenShift
, etc; you will be able to find those requirements in specific cloud provider documentation.In
Kubernetes documentation
you will be able to find some general information for Size of master and master components in GKE and AWSIt's also worth to mention that some cloud environments (like GKE) master node are managed by
cloud provider
. Therefore you don't need to worry about master but you can focus on other aspects like HPA, CA orNetwork configuration
.As last thing you can read Kubernetes Capacity Planning article.