Kubernetes (usein lyhennettynä K8s) on avoimen lähdekoodin container orchestration -alusta. Se automatisoi konttipohjaisten sovellusten käyttöönoton, skaalaamisen, verkotuksen ja itsekorjauksen koneklusterissa, joten kuvaat halutun tilan (desired state) ja Kubernetes työskentelee jatkuvasti saadakseen todellisuuden vastaamaan sitä.
Ongelma: konttien ajaminen mittakaavassa on vaikeaa
You have containers (from Docker), but in production you must also answer:
→ On WHICH machine does each container run? (scheduling)
→ What if a container crashes? (self-healing / restarts)
→ What if a whole node dies? (reschedule elsewhere)
→ How do 50 replicas find and talk to each other? (service discovery)
→ How do I roll out a new version with zero downtime? (rolling updates)
→ How do I scale from 3 to 30 replicas on a traffic spike? (autoscaling)
Doing all this by hand across many servers does not scale.
