9. ● This is a Kubernetes Cluster.
● This Cluster consists of 3 Nodes.
Each Node is a server.
● Software (Eg. webserver, appserver,
database etc) runs in a container in
a Pod.
● Kubernetes manages the Pods
● Deployments contain all settings to
run Software in the Pod, enabling
automated setup.
Kubernetes Nodes and Pods
11. ● Kubernetes executes health checks
● When Kubernetes detects a Pod is
unhealthy
Kubernetes auto-recovery
12. ● Kubernetes executes health checks
● When Kubernetes detects a Pod is
unhealthy, it will start a new Pod
(using the Deployment)
● It may allocate the new Pod
anywhere in the Cluster.
Kubernetes auto-recovery
13. ● Kubernetes executes health checks
● When Kubernetes detects a Pod is
unhealthy, it will start a new Pod
(using the Deployment)
● It may allocate the new Pod
anywhere in the Cluster.
● Finally, Kubernetes will terminate
the unhealthy Pod.
Kubernetes auto-recovery
14. ● When a Node (server) fails
Kubernetes auto-recovery
15. ● When a Node (server) fails,
Kubernetes detects the Pods are
unhealthy
Kubernetes auto-recovery
16. ● When a Node (server) fails,
Kubernetes detects the Pods are
unhealthy.
● Kubernetes will Deploy the Pods on
healthy Nodes.
Kubernetes auto-recovery
17. ● When a Node (server) fails,
Kubernetes detects the Pods are
unhealthy.
● Kubernetes will Deploy the Pods on
healthy Nodes.
● Finally the node is restarted.
Kubernetes auto-recovery
20. ● Kubernetes monitors CPU usage
using a CPU probe
● When load is high, Kubernetes may
start a new Pod (using the
Deployment)
Kubernetes Nodes and Pods
21. ● Kubernetes monitors CPU usage
using a CPU probe
● When load is high, Kubernetes may
start a new Pod (using the
Deployment)
● The load is distributed over the
Pods.
Kubernetes Nodes and Pods