Skip to main content
Designing a Kubernetes cluster is about matching architecture to your workloads, availability needs, and operational model. The decisions you make up front determine node sizing, control-plane topology, storage patterns, networking, and the tools you’ll use to provision and operate the cluster. Start by asking these questions
  • What is the purpose of this cluster — learning, development, testing, or production?
  • What is your organization’s cloud adoption strategy — managed cloud, self-hosted, or hybrid?
  • What workload types will run on the cluster — web apps, big-data/analytics, batch jobs, or stateful services?
  • How many applications and users/clients will the cluster serve — a few services or many tenants?
  • What traffic patterns should you expect — steady heavy traffic, spiky bursts, or intermittent loads?
  • What are the storage, networking, and latency requirements for your applications?
Answers to these questions guide choices for sizing, instance types, storage tiers, networking topology, and the provisioning toolchain. How these answers influence design
  • Workload type → compute, memory, and I/O characteristics (e.g., GPUs for ML training, SSDs for low-latency databases).
  • Scale and traffic patterns → node counts, autoscaling strategy, and load-balancer sizing.
  • Availability needs → single-node vs. multi-node control-plane, etcd placement, and multi-zone/topology distribution.
  • Operational model → managed service (GKE/EKS/AKS) vs. self-managed (kubeadm/kops), which affects day‑to‑day maintenance and upgrade paths.
Cluster purpose and provisioning options
  • Learning:
    • Use Minikube, kind, or a single-node kubeadm cluster on local VMs or cloud VMs for experiments and tutorials.
    • These setups are lightweight, quick to iterate, and easy to recreate.
  • Development and testing:
  • Production:
    • Production clusters should be highly available: multiple control-plane nodes, resilient etcd placement, monitoring, logging, and backup strategies.
    • Provisioning tools: kubeadm (self-managed), kops (commonly used on AWS), cloud-managed offerings (GKE, EKS, AKS), or other platform-specific tools.
Capacity guidance (reference limits) You can expect the following Kubernetes scale guidance (these numbers can change — see vendor docs for current limits):
  • Up to 5,000 nodes per cluster
  • Up to 150,000 pods in the cluster
  • Up to 300,000 containers total
  • Up to 100 pods per node
Depending on cluster scale, node resource requirements vary. Cloud providers often offer recommendations or automated instance selection based on capacity needs.
A presentation slide titled "Hosting Production Applications" that lists cluster capacity and limits (e.g., high‑availability multi‑node clusters, up to 5,000 nodes, 150,000 PODs, 300,000 containers, 100 PODs per node). Below it is a table mapping node count ranges to recommended GCP and AWS instance types with their vCPU and RAM specifications.
Platform choices at a glance Choose the platform based on operational skills, compliance, cost, and integrations needed.
A slide titled "Cloud or On-Prem?" listing Kubernetes options: "Use Kubeadm for on-prem," "GKE for GCP," "EKS for AWS," and "Azure Kubernetes Service (AKS) for Azure." The design is a dark blue background with colored side accents for each option.
Storage and node configuration
  • Pick node and disk types to meet workload I/O characteristics:
    • SSD-backed block storage for low latency and high IOPS.
    • Network-attached storage (NFS, CSI-backed volumes) for shared persistent volumes across pods.
  • Define StorageClasses for storage tiers (e.g., fast-ssd, standard-hdd, nfs-shared) and use PersistentVolumeClaims that reference the appropriate StorageClass.
  • Schedule workloads to suitable hardware using:
    • Node labels + nodeSelector
    • Pod affinity/anti-affinity
    • Taints and tolerations (reserve nodes for specialized or sensitive workloads)
  • For stateful workloads, ensure the storage backend supports your replication, snapshot, and restore needs.
A slide titled "Storage" with five numbered cards (01–05), each showing an icon and a storage recommendation. The items list: high-performance SSD-backed storage; network-based storage for multiple concurrent connections; persistent shared volumes for multi-POD access; labeling nodes by disk type; and using node selectors to place apps on nodes with specific disks.
Nodes, control plane, and workloads
  • Nodes:
    • Can be physical servers or virtual machines (examples often use VirtualBox VMs for labs).
    • Choose instance types (vCPU, memory, disk) to match pod resource requests and limits.
  • Control plane:
    • Hosts kube-apiserver, controller-manager, scheduler, and etcd.
    • For production, run multiple control-plane nodes across failure domains to avoid a single point of failure.
    • Installers like kubeadm typically taint control-plane nodes with NoSchedule to prevent normal workloads from being scheduled on them.
  • Worker nodes:
    • Run kubelet, kube-proxy, and user workloads (pods).
    • Use taints/tolerations, node labels, and affinity to control placement.
  • Platform requirement:
    • Use a 64-bit Linux distribution on all nodes (Kubernetes standard).
Large clusters and etcd placement
  • For larger deployments, consider dedicated etcd nodes separated from control-plane nodes to isolate disk I/O and memory usage.
  • Dedicated etcd improves performance, operational isolation, and recovery options.
  • Designing control-plane and etcd topologies, multi-region clusters, and advanced HA patterns requires deeper planning and is typically documented in provider or Kubernetes architecture guides.
Resources and further reading
  • Official Kubernetes documentation: https://kubernetes.io/docs/
  • Provider guides: GKE, EKS, AKS (links above)
  • Installation tools and projects: kubeadm, kops, and platform-specific references
From a certification or design perspective, you don’t need to memorize fixed capacity numbers. Focus on the concepts: when to use single-node vs. multi-node, managed vs. self-hosted, storage tiers and classes, and high-availability control-plane patterns. Check vendor docs for up‑to‑date limits and recommendations.
Wrapping up Designing a Kubernetes cluster is an exercise in trade-offs: operational effort vs. control, cost vs. performance, and availability vs. complexity. Use the questions at the start of this guide to map your needs to a provisioning path (local learning, self-managed, or managed cloud), then define node sizing, storage tiers, networking, and HA topology accordingly. Further reading and hands-on provisioning guides will help you implement the patterns described here.

Watch Video