Kubernetes: When You Need It and When You Don't

Honest criteria for adopting Kubernetes versus a PaaS, VMs with systemd, or Docker Compose, including the real operating costs and signals that it is time to move.

DIDatainter TeamSEP 25, 20268 MIN READTECHNOLOGY

Kubernetes is an impressive piece of engineering and an easy thing to adopt too early. Teams reach for it because it appears on every job description and architecture diagram, then spend months operating a platform instead of building a product. Other teams avoid it past the point where it would have saved them, stitching together shell scripts that quietly reimplement half of its features.

This article gives you criteria rather than opinions: what Kubernetes actually provides, what it costs to run, the simpler alternatives and when each one wins, and the signals that tell you it is time to move.

What Kubernetes actually gives you

Strip away the vocabulary and Kubernetes is a control system that continuously reconciles declared desired state with reality. You say “run three replicas of this container behind this service, with these resource limits,” and the cluster makes it true, restarting failed containers and rescheduling them if a node dies.

Concretely, you get:

  • Scheduling and bin packing: placing workloads on a pool of machines according to CPU, memory, affinity and taints.
  • Self-healing: health probes, automatic restarts, replacement of failed nodes.
  • Rolling updates and rollbacks: gradual replacement of pods with readiness checks.
  • Service discovery and load balancing: stable internal names and virtual IPs.
  • Autoscaling: horizontal pod autoscaling on metrics, cluster autoscaling of nodes, event-driven scaling with add-ons.
  • Declarative configuration: everything is a manifest you can store in git and sync with GitOps tools such as Argo CD or Flux.
  • An extension model: custom resources and operators for databases, certificates, ingress, and more.
  • A common API across clouds and on-premises, which reduces lock-in to any one provider’s orchestration.

These are real capabilities. The question is whether you need them at your scale, and what you pay to get them.

What it costs

The price of Kubernetes is not the control plane fee. It is the surface area.

Concepts to learn. Pods, deployments, services, ingress, config maps, secrets, volumes and persistent volume claims, namespaces, RBAC, network policies, resource requests and limits, probes, disruption budgets, jobs. A competent team needs months to become fluent, and some failure modes, such as out-of-memory kills, pending pods due to unsatisfiable requests, DNS issues and misconfigured probes causing restart loops, are not obvious.

Platform work. Even on managed offerings (EKS, GKE, AKS, DigitalOcean Kubernetes), you still choose and operate an ingress controller, certificate management, DNS automation, a metrics and logging stack, secret management, autoscalers, a CI/CD integration, backup tooling and policy controls. Upgrades arrive several times a year, and API deprecations must be handled; clusters running unsupported versions become a security and compliance problem.

Money. Managed control planes cost roughly tens of dollars per month each, but the real expense is nodes sized with headroom, load balancers, NAT gateways, observability volume, and the people. A common estimate is that running Kubernetes well needs at least one engineer’s meaningful attention, and often a small platform team beyond a few dozen services.

Complexity of stateful workloads. Running databases inside Kubernetes is possible with operators but rarely worth it for small teams. Most should keep databases on managed services.

Kubernetes does not remove operational work. It moves it from your application servers into a platform you now have to run.

Technology · Kubernetes: When You Need It and When You Don't

The alternatives, honestly assessed

Platform as a Service

Heroku, Render, Railway, Fly.io, Google Cloud Run, AWS App Runner and Azure Container Apps let you deploy a container or a git repository and get HTTPS, scaling, logs and rollbacks without touching nodes.

  • Strengths: minimal operational burden, fast time to first deploy, good developer experience, per-app scaling.
  • Limits: cost per unit of compute is higher at scale, less control over networking and runtimes, vendor-specific features, and constraints on long-running or specialized workloads (GPU, unusual ports, sidecars).
  • Best fit: products with fewer than roughly ten services, teams without dedicated operations people, startups validating a market.

Cloud Run style serverless containers deserve special mention: they scale to zero, bill by request time, and cover a large share of web workloads with almost no operational overhead.

Docker Compose on one or a few VMs

Compose describes multi-container applications in one YAML file. On a single well-provisioned virtual machine, it can run a web app, a worker, Redis and a reverse proxy such as Caddy or Traefik with automatic TLS.

  • Strengths: trivially simple, matches local development exactly, cheap, easy to debug with docker logs and docker exec.
  • Limits: single host is a single point of failure, deployments cause brief downtime unless you script blue-green swaps, no automatic rescheduling, manual capacity planning.
  • Best fit: internal tools, early-stage products, side projects, small SaaS with tolerance for minutes of downtime during incidents, or two-node setups with a load balancer and health checks.
services:
  app:
    image: registry.example.com/app:${TAG}
    restart: unless-stopped
    env_file: .env
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
      interval: 15s
  caddy:
    image: caddy:2
    ports: ["80:80", "443:443"]
    volumes: ["./Caddyfile:/etc/caddy/Caddyfile", "caddy_data:/data"]
volumes:
  caddy_data:

VMs with systemd

Running your application as a systemd service on a Linux VM, with a process manager built into the OS, is underrated. Unit files provide restarts on failure, resource limits through cgroups, dependency ordering, log capture through journald and socket activation.

  • Strengths: the fewest moving parts, great performance with no container overhead, deep operating system tooling, easy to reason about.
  • Limits: dependency and environment management falls on you (mitigate with a configuration tool such as Ansible and immutable images from Packer), and scaling means adding VMs behind a load balancer.
  • Best fit: monoliths and a few services, teams with Linux skills, steady traffic. Many profitable businesses run this way for years.

Nomad and other lightweight orchestrators

HashiCorp Nomad, or Docker Swarm in simple cases, provide scheduling and rolling updates with far less conceptual overhead than Kubernetes. They are worth considering for mixed workloads of containers and plain binaries, though the ecosystem and hiring pool are smaller.

A comparison

Option Ops effort Scale ceiling Resilience Cost at small scale Learning curve
PaaS / serverless containers Very low High, with cost growth Managed Low to medium Low
Docker Compose on one VM Low One machine Single point of failure Very low Low
systemd on VMs behind a load balancer Low to medium Many machines, manual Good with 2+ nodes Low Medium (Linux)
Nomad / Swarm Medium High Good Medium Medium
Managed Kubernetes High Very high Very good Medium to high High

Criteria: signs you probably need Kubernetes

Look for several of these together, not just one:

  1. Many services and teams. Roughly 15 or more independently deployed services, owned by several teams that need self-service deployment on a shared platform with guardrails.
  2. Heterogeneous, bursty workloads. Mixed web, batch, queue workers and ML jobs that benefit from bin packing and autoscaling to cut compute spend materially.
  3. Multi-cloud or hybrid requirements. Regulatory, customer or acquisition-driven needs to run the same workloads in different environments.
  4. Strict availability targets. Requirements for zero-downtime deploys, multi-zone resilience and fast automatic recovery that you cannot meet cheaply otherwise.
  5. Platform engineering capacity. You have, or will hire, people whose job is the platform, and an internal developer platform is a goal.
  6. Ecosystem leverage. You depend on tools that assume Kubernetes (operators, service meshes, certain data and ML tooling, GitOps workflows).
  7. PaaS limits reached. Your platform bill or constraints now exceed what a platform team would cost.

Signs you probably do not

  • Fewer than ten services and one or two teams.
  • No one on the team has operated a cluster, and no budget exists to hire for it.
  • Traffic is steady and a couple of VMs handle it with headroom.
  • The main motivation is résumé-driven, or “everyone uses it.”
  • Your outages come from application bugs and database queries, which Kubernetes does not fix.
  • You would run databases and stateful systems in-cluster without strong experience.

A staged path

You do not have to choose once. A reasonable evolution:

  1. Containerize everything. Docker images, twelve-factor configuration, health endpoints, structured logs. This is valuable regardless of where containers run and keeps every future option open.
  2. Start on a PaaS or Compose. Ship the product. Measure actual deploy frequency, incident causes and infrastructure cost.
  3. Add redundancy cheaply. Two VMs and a load balancer, or a PaaS with multiple instances, covers many availability goals.
  4. Move to managed Kubernetes when pain is measurable: deployment queues across teams, PaaS cost exceeding platform staffing, or scheduling needs you cannot meet. Pilot with one stateless service, build the paved road (templates, CI, observability), then migrate incrementally.
  5. Keep stateful services managed, even after adopting Kubernetes.

Because the application is already containerized and configured through the environment, each step costs weeks rather than a rewrite. In our work at Datainter, the most reliable predictor of a successful Kubernetes adoption has been an existing habit of treating infrastructure as code and having clear on-call ownership, not the size of the traffic.

If you do adopt it

Keep the first cluster boring. Use a managed control plane, a small set of well-known add-ons, namespaces per team, resource requests and limits on every workload, pod disruption budgets, network policies, and GitOps for deployment. Set up cost visibility from day one, and plan the upgrade cadence before the first production workload lands. Resist the service mesh and custom operators until a concrete problem demands them.

Key takeaways

  • Kubernetes reconciles declared state with reality and offers scheduling, self-healing, rollouts and autoscaling, but its main cost is the platform you must operate.
  • PaaS and serverless containers cover most small and mid-sized products with far less effort; Docker Compose and systemd on VMs remain legitimate and cheap choices.
  • Consider Kubernetes when you have many services and teams, heterogeneous workloads, strict availability needs, platform engineers and PaaS limits reached, ideally several at once.
  • Containerizing and twelve-factor configuration keep every option open and make a later move cheap.
  • If you adopt it, use a managed control plane, keep databases on managed services, and invest early in GitOps, resource limits, cost visibility and an upgrade routine.
  • Match the tool to your actual bottleneck; most outages come from application and data issues that orchestration does not solve.
#kubernetes#docker compose#paas#infrastructure
DI
Datainter TeamEngineers, designers and operators building software and fintech products from Medellín, Tigard and Luxembourg.

Building something in this space?

Talk to the team that ships and operates it. We reply within one business day.

Start a project
Chat with us on WhatsAppUSUALLY REPLIES WITHIN MINUTES