Kubernetes Comics

Deploy code faster: with CI/CD and Kubernetes | Kubernetes Engine | Google Cloud

Overview

https://www.youtube.com/watch?v=IMOZCDhH7do

Kubernetes manages the complexity of running Docker containers.

Open source, automation platform

Helps deal with hundreds of containers

One Master node → worker nodes composed of multiple pods (containers clustered together as a working unit)

So we design apps using pods instead of containers. Tell the master node what the pods definitions are and how many need to be deployed.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/a5ca3d25-fd15-468b-a498-eb57bc0c034a/Screenshot2018-05-0313.56.04.png

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/b6a3bc02-2ebe-4178-b95e-91aab664e7f1/Screenshot2018-05-0313.56.28.png

Kubernetes takes the pods and deploys them to the worker nodes.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/ad6a678c-7839-4593-a265-7b3a6a594a0c/Screenshot2018-05-0313.57.32.png

If a worker node goes down, Kube starts new pods on a functioning worker node.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/abbdcb14-9ae2-465a-b317-5f5c6563022c/Screenshot2018-05-0313.59.50.png

Handles scheduling onto nodes in a compute cluster and manages load.

Groups containers that make up an application into logical units for easy management and discovery.