Originally published on CodingCush .
Kubernetes is an open source system that runs and manages your containers for you. You tell it what your app should look like, three copies of your website running at all times, and it makes that happen and keeps it happening. Its short name is K8s. It does not replace Docker: Docker, or another container runtime, still runs each container, while Kubernetes decides where containers run, how many run, and what happens when one fails.
Why Do Containers Need a Manager at All?
One container is easy. You start it, it runs your app, and you can watch it yourself. Fifty containers is a different job. Which machine is each one on, and what happens when one crashes at 3 in the morning?
Doing that by hand is slow and full of mistakes, and that is the problem Kubernetes solves. Think of a school orchestra: fifty musicians need a conductor who keeps everyone in time. Kubernetes is that conductor.…