
Problems Kubernetes solves
All 41 problems from Kubernetes's listing.
- keep my containers running across a fleet of servers and restart them automatically when one crashes
- my app has outgrown a single Docker host and I need to run its containers across many machines
- place containers on whichever server has enough free CPU and memory instead of picking hosts by hand
- roll out a new version of my web service a few replicas at a time and roll back if it breaks
- give a group of containers one stable DNS name and spread requests between them
- route traffic for several domains and URL paths to different backend services in one cluster
- send 10% of requests to a new release of a service before switching everyone over
- expose a service to the internet through my cloud provider's load balancer with a public IP
- keep database passwords and API keys out of my container images and inject them when the app starts
- change an app's configuration file without rebuilding and redeploying its image
- add more web workers automatically when CPU climbs and remove them when traffic falls off
- give a running container more memory without restarting it
- attach a persistent disk to a database container that follows it when it moves to another server
- create cloud block storage volumes on demand whenever an app asks for storage
- use any storage vendor's volumes through one standard driver interface
- take point-in-time snapshots of application volumes and restore them
- run a replicated database where each replica keeps a stable hostname and its own volume
- run a log shipper or monitoring agent on every machine in the cluster, including new ones
- run a batch processing task to completion with retries and several workers in parallel
- schedule a nightly cleanup or report task on my container platform like a crontab
- give each team its own space on a shared cluster with caps on how much CPU and memory it can use
- set default CPU and memory limits for containers that don't declare any
- restrict which engineers can read secrets or delete workloads in production
- let engineers authenticate to the cluster API with our company's OIDC identity provider
- keep a record of every change made to my cluster and who made it, for an audit
- encrypt secrets at rest in my orchestrator's datastore
- stop one app's pods from opening network connections to another app's database
- stop workloads from running privileged or as root on shared container hosts
- describe my whole application declaratively in YAML and have the platform converge to it
- run the same container platform on premises, on bare metal and in several public clouds without lock-in
- set up a production cluster on my own Linux machines with a standard bootstrap tool
- read logs, open a shell in a container and port-forward to a service from my terminal
- add my own resource types to the cluster API and write a controller that manages them
- drain a server for maintenance so its workloads move to other machines first
- keep a minimum number of replicas running while nodes are upgraded or drained
- send no traffic to a container until it reports it is ready, and restart it if it hangs
- spread replicas across availability zones so one zone outage doesn't take my app down
- keep GPU machines reserved for the workloads that actually need GPUs
- evict low-priority workloads first so critical services keep running when a cluster is full
- run Windows containers and Linux containers side by side in one cluster
- give my pods and services both IPv4 and IPv6 addresses