9. Kubernetes Terminology
Pod
A group of one or
more containers
Replica Set
Ensures that a
specified number of
pod “replicas” are
running
Deployment
Provides declarative
updates for Pods and
Replica Sets
Service
a logical set of Pods
and a policy by
which to access
them
17. Kubectl V.S. Restful API
~$ kubectl delete deployment nginx
DELETE
/apis/extensions/v1beta1/namespaces/default/deployments/nginx
deployment, replica set,
pod are deleted from K8S
only deployment is
deleted from K8S
24. Container Alive V.S. Service Alive
▷ Container Alive != Service Alive
▷ When Container Dead, Restarting
Pod Automatically
▷ When Service Dead ?
25. Liveness Probes
▷ Check Whether Service Alive Or Not
▷ Restart Pod If Service Unavailable
▷ Exec Liveness
▷ Http Liveness
26. Readiness Probes
▷ Check Whether Service Alive Or Not
▷ Bind Pod If Service Ready
▷ Unbind Pod If Service Unavailable
▷ Exec Liveness
▷ Http Liveness