In a deployment, you can describe the desired state for your application and Kubernetes will constantly check if this state is matched. A deployment will create ReplicaSets which then ensures that the desired number of pods are running. If a pod goes down due to an interruption, the ReplicaSets controller will notice that the desired state does not match the actual state, and a new pod will be created.
Deployment: application에 대한 원하는 상태를 명시하면 쿠버네티스가 계속 상태가 일치하는지 확인한다. deployment는 원하는 pod의 개수를 보증하는 ReplicaSets을 만든다. 만약 pod이 꺼진다면 ReplicaSets controller는 원하는 상태와 맞지 않음을 알리고 pod이 새로 생성된다.
Deployments offer:
Deployment가 제공하는 바: