Kubernetes: when it fits and when it doesn't
What Kubernetes really gives you, what it costs in people and operations, signs that it fits your case, and the simpler alternatives when it doesn't.
Kubernetes$ kubectl get nodes -o wide▍Kubernetes has become a synonym for “modern infrastructure,” and that creates quiet pressure: it feels like every serious project needs a cluster. It doesn’t. Kubernetes is an excellent tool for a specific set of problems — and an expensive source of complexity for everything else. This article helps you decide honestly.
What Kubernetes gives you
At its core, Kubernetes is a declarative API for running containers across a set of machines. You describe the desired state, and a set of controllers works continuously to get there (the details are in how Kubernetes works). In practice, that means:
- Scheduling: pods are placed across nodes based on CPU, memory, affinities, and constraints.
- Self-healing: containers that die are restarted; pods from a failed node are recreated elsewhere.
- Gradual deploys: a
Deploymentperforms rolling updates and rollbacks without homegrown scripts. - Service discovery:
Serviceobjects and internal DNS give a stable name to a set of pods that changes all the time. - Scaling: the HPA adjusts replicas based on metrics; node autoscalers adjust cluster capacity.
- Ecosystem: Helm, Argo CD, Prometheus, cert-manager, operators for databases and queues — almost everything speaks Kubernetes.
- Portability: the same manifests run on EKS, GKE, AKS, on-premises, or on your laptop.
What it costs
All that power has a price, and it rarely shows up on the cloud bill:
- Operational complexity: networking (CNI, Ingress, NetworkPolicy), storage (StorageClass, persistent volumes), DNS, certificates, RBAC — each layer is a failure point someone has to understand.
- Learning curve: the product team needs to know at least Deployments, Services, probes, requests/limits, and how to debug a pod in
CrashLoopBackOff. - Constant upgrades: the project ships about three minor releases a year, and each one gets patches for a little over a year. Upgrading the cluster, the add-ons, and deprecated APIs is recurring work — and versions outside standard support can incur extra charges with some providers, such as EKS extended support.
- Security surface: the API server, kubelets, images, Secrets, overly broad RBAC permissions, and privileged workloads.
- A platform team: at some point, someone needs to own the cluster full time (see what platform engineering is).
- Fixed cluster cost: the control plane (billed per cluster by some providers), idle nodes, system add-ons, load balancers, and observability keep running even when the application is idle.
Managed or self-managed?
With managed services such as EKS, GKE, and AKS, the provider runs the control plane (API server, etcd, scheduler) and makes upgrades easier. You are still responsible for the nodes (unless you use modes like GKE Autopilot or EKS with Fargate), the add-ons, workload security, and upgrade planning. Self-managing (kubeadm, on-premises distributions) only pays off with strong requirements — data sovereignty, your own hardware, edge — and a team with real operations experience.
Signs that Kubernetes fits
- Many services (dozens, not three) with independent deploy cycles.
- Multiple teams that benefit from a common standard for deploys, observability, and security.
- A hybrid or multi-cloud strategy in which a common API has concrete value.
- Specialized workloads: GPUs, batch jobs, event-driven scaling, data operators.
- There is (or will be) a platform team offering golden paths to the other teams.
Signs that it doesn’t
- Few services, or a well-run monolith.
- A small team with no one experienced in operations.
- A simple web application with predictable traffic.
- A tight budget, where the fixed cluster cost outweighs the application itself.
- The main motivation is “putting Kubernetes on the résumé.”
Simpler alternatives
Containers don’t require Kubernetes. Some options that cover most cases with far less operational work:
- AWS ECS with Fargate or AWS App Runner: managed containers, integrated with the AWS ecosystem.
- Google Cloud Run and Azure Container Apps: serverless containers that scale per request, including down to zero.
- PaaS (Heroku, Render, Fly.io, Railway, and similar): you hand over the code or the image, and the platform handles the rest.
- Serverless functions (Lambda, Cloud Functions, Azure Functions): for event-driven workloads.
- A single VM with Docker Compose: underrated, and enough for many early-stage products.
# compose.yaml — one VM, a proxy, the app, and the database
services:
proxy:
image: caddy:2
ports: ["80:80", "443:443"]
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
app:
image: ghcr.io/your-org/app:1.4.2
environment:
DATABASE_URL: postgres://app:change-me@db:5432/app
restart: unless-stopped
db:
image: postgres:16
environment:
POSTGRES_USER: app
POSTGRES_PASSWORD: change-me
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata:
With docker compose up -d, volume backups, and good monitoring, this handles more traffic than many people expect — and a future move to Kubernetes remains possible, because the application already runs in containers.
Decision matrix
| Situation | Recommendation |
|---|---|
| 1 to 3 services, small team | VM with Compose, PaaS, or Cloud Run/App Runner |
| Several services, one team, all on one cloud | ECS/Fargate, Cloud Run, or Container Apps |
| Dozens of services, multiple teams | Managed Kubernetes + platform team |
| Hybrid, multi-cloud, or on-premises | Kubernetes (managed where possible) |
| GPU, batch, event-driven scaling | Kubernetes with node autoscaling |
| Sporadic event-driven workloads | Serverless functions |
Common mistakes
- Kubernetes for a monolith with two devs: weeks of YAML to solve a problem a PaaS would solve in an afternoon.
- One cluster per team too early: it multiplies upgrades, fixed costs, and diverging configurations. Start with namespaces, quotas, and RBAC.
- Ignoring requests and limits: without them, the scheduler places pods blindly, nodes get overloaded, and costs become unpredictable.
- No observability: without centralized metrics, logs, and events, every incident turns into archaeology.
- Forgetting what was left behind: forgotten volumes, load balancers, and test clusters become zombie resources.
If you’re just starting to learn, try it first with lightweight local Kubernetes — it costs nothing and quickly reveals the learning curve. And once you’re on a cluster, the bare minimum is declaring resources:
resources:
requests:
cpu: 250m
memory: 256Mi
limits:
memory: 512Mi
kubectl top pods -n your-app # requires metrics-server
kubectl describe node <node-name> # check "Allocated resources"
Checklist
- Count services, teams, and deploy frequency before choosing a platform
- Evaluate ECS/Fargate, Cloud Run, Container Apps, or a PaaS first
- If you go with Kubernetes, prefer a managed service
- Decide who owns the cluster and the upgrade calendar
- Require requests (and memory limits) on every workload
- Have metrics, logs, and alerts before the first production service
- Review the fixed cluster cost alongside the application cost
Kubernetes is a great answer — as long as the question is yours, not the market’s.