What is Kubernetes?
Kubernetes is an open-source platform that runs containers across a group of machines and keeps them in the state you declared. It has become the common foundation for running services at scale.
Which parts make up a cluster?
A control plane that decides, and worker nodes that run containers. The control plane has an API server that every tool talks to, etcd as the store of record, a scheduler that places work, and controllers that reconcile reality with the declared state. Each node runs the kubelet agent, a container runtime such as containerd, and a network proxy. Everything, including the cluster's own components, is managed through the API.
What are pods, deployments and services?
The three objects you meet first. A pod is one or more containers that share a network address and storage and are scheduled together. A deployment keeps a given number of identical pods running and replaces them gradually when the template changes. A service gives a stable name and virtual address to a changing set of pods, so other workloads can find them. Around those sit ConfigMaps and Secrets for configuration, StatefulSets for workloads that need stable identities, and DaemonSets for one pod per node.
apiVersion: apps/v1
kind: Deployment
metadata: { name: catalogue }
spec:
replicas: 3
selector: { matchLabels: { app: catalogue } }
template:
metadata: { labels: { app: catalogue } }
spec:
containers:
- name: api
image: registry.example.net/catalogue@sha256:4f1c2a...
resources: { requests: { cpu: 500m, memory: 512Mi }, limits: { memory: 1Gi } }
readinessProbe: { httpGet: { path: /ready, port: 8080 } }
How does networking work inside a cluster?
Every pod gets its own IP address, and every pod can reach every other without address translation. A network plugin (CNI) makes that true across nodes, with routing, an overlay or eBPF. Common plugins are Cilium, Calico and Flannel. On our servers, nodes reach each other over their public ports because a private network product is not sold, so pick a plugin mode that encrypts node traffic with WireGuard, and restrict the node ports to cluster members in the host firewall.
How do users reach services?
Through an ingress controller or the newer Gateway API, which route HTTP by host name and path to services. On bare metal the controller listens on ports 80 and 443 of chosen nodes, often as a DaemonSet with host networking. Each server here has its own public IPv4 address and an IPv6 block; floating addresses are not available, so publish the addresses of the ingress nodes in DNS and let health checks or short TTLs handle a node failure. cert-manager automates certificates for every hostname.
What does running Kubernetes on bare metal involve?
You own the parts a cloud provider would normally supply. That means installing a distribution, choosing a CNI, providing storage, handling ingress addresses, upgrading every few months and backing up etcd. In return, every core and NVMe drive works for your pods with no virtualisation layer, and costs are fixed. Lightweight distributions make it practical:
| Distribution | Notes |
|---|---|
| kubeadm | Upstream tooling, most control, most work |
| K3s | Single binary, embedded etcd option, small footprint |
| RKE2 | Security-focused, close to upstream, pairs with Rancher |
| Talos Linux | Immutable OS built only for Kubernetes, installed from rescue |
Where do stateful applications keep data?
In persistent volumes provided by a storage driver. Local persistent volumes give raw NVMe speed but tie a pod to one node; replicated storage such as Longhorn or Rook with Ceph lets volumes follow pods at the cost of extra network traffic and some latency. Many teams run databases outside the cluster on their own servers, or inside it with an operator that handles replication at the database level. Our CephFS storage clusters page covers sizing a Ceph layer.
How large should the nodes be?
Large enough that a node failure does not overload the rest. Three identical nodes running both control plane and workloads is a common start; each must hold its share plus a third of a failed neighbour's pods. Three ESSENTIAL-L machines give 16 and 128 GB DDR5 each at $106.20 per node a month. Larger clusters move the control plane to three small nodes and add workers such as BUSINESS-5 2024. Every model includes DDoS filtering and unmetered ports in Europe and Canada.
Do I need Kubernetes at all?
Not always. For a handful of services on one or two servers, Docker Compose or systemd units are simpler and fail in easier ways. Kubernetes earns its complexity when you run many services, deploy often, need self-healing across machines, or want one platform shared by several teams. Our Docker article covers the single-host route and Rancher a tool for managing several clusters.
Machines for Kubernetes nodes
| Model | Processor | Cores | Memory | Drives | Port | Per month |
|---|---|---|---|---|---|---|
| ESSENTIAL-S | AMD Ryzen 7 9700X | 8 | 64 GB | 2x 512 GB SSD NVMe | 1 Gbps unmetered | $46.20 |
| ESSENTIAL-L | AMD Ryzen 9 9950X | 16 | 128 GB | 2x 960 GB SSD NVMe | 1 Gbps unmetered | $106.20 |
| ESSENTIAL-XL | AMD EPYC TURIN 9455 | 48 | 128 GB | 2x 1.92 TB SSD NVMe | 1 Gbps unmetered | $212.40 |
| BUSINESS-5 2024 | AMD EPYC 8224P | 24 | 96 GB | 2x 960 GB SSD NVMe | 3 Gbps unmetered | $280.20 |
| ENTERPRISE-a2 2026 | AMD EPYC TURIN 9255 | 24 | 128 GB | 2x 1.92 TB SSD NVMe | 5 Gbps unmetered | $446.40 |
Related pages
Container orchestration
Running containers across many machines: scheduling, desired state, service discovery, rolling updates, self-healing and the tools that do it on bare metal.
Read moreKubernetes and Docker
Docker builds and runs containers; Kubernetes schedules them across machines. What each does, where Compose is enough, and running both on dedicated servers.
Read moreRancher and Kubernetes
Kubernetes is the orchestrator; Rancher manages many Kubernetes clusters. What each layer does, when a management plane helps, and running both on bare metal.
Read moreCephFS storage clusters
Build a CephFS cluster with cephadm on Storage servers: monitors, managers, OSDs and MDS daemons, NVMe for metadata, encrypted messenger and sizing.
Read moreQuestions and answers
Is Kubernetes free?
Yes. Kubernetes is open source under the Apache 2.0 licence, as are distributions such as K3s, RKE2 and kubeadm.
How many servers does a Kubernetes cluster need?
Three for a control plane that tolerates one failure. A single node is fine for development; production clusters add workers as needed.
Can I run Kubernetes on rented dedicated servers?
Yes. Install a distribution such as K3s or RKE2 on several servers and link them with an encrypted overlay, since a private network product is not sold.
How do I expose Kubernetes services without a cloud load balancer?
Run an ingress controller on chosen nodes and publish their public addresses in DNS, with health checks or short TTLs for failover.
Where should databases run when using Kubernetes?
Either inside the cluster with an operator and local or replicated volumes, or on separate servers. Many teams keep large databases outside the cluster.