Skip to content

Latest commit

 

History

History
37 lines (34 loc) · 1.96 KB

README.md

File metadata and controls

37 lines (34 loc) · 1.96 KB

kubernetes-pod vs deployment

Pod Vs Deployment in Kubernetes

Kubernetes has three Object Types you should know about:

  • Pods - runs one or more closely related containers
  • Services - sets up networking in a Kubernetes cluster
  • Deployment - Maintains a set of identical pods, ensuring that they have the correct config and that the right number of them exist.

Ref: https://stackoverflow.com/questions/41325087/what-is-the-difference-between-a-pod-and-a-deployment 

POD Deployment
Pods that run a single container Can run set of pods
Updates not possible Updates are possible
Pod crashes not able recover When create a deployment, replcia set is created(which manages pod)
Rollback and rollout is not available rollout and rollback available

Pods are the smallest, most basic deployable objects in Kubernetes. A Pod represents a single instance of a running process in your cluster. Pods contain one or more containers, such as Docker containers. When a Pod runs multiple containers, the containers are managed as a single entity and share the Pod's resources.