Kubernetes Container / Pod / Replicaset / Deployment / Service

Kubernetes has a lot of technical terminology. To understand management kubernetes, we need to understand each words. During learning, I’m confusing what they are, and their relationships, during learning.

Container / Pod / Replicaset / Deployment / Service

WordsDescription
ContainerA container is a lightweight, isolated and portable environment that
packages an application and its dependencies
Containers run inside Pods and are managed by Kubernetes
PodPod is fundamental(minimum) unit of deployment in Kubernetes
Pod represents a single instance can contain one or more containers
Containers within pod share resources ex, Network, Storage..
ReplicasetReplicaSet ensures that a specified number of pod replicas are running at all times
DeploymentDeployment is a higher-level controller that manages ReplicaSets and provides a declarative way to manage the rollout and scaling of applications
(rolling update, rollback)
Use this for release management
ServiceService in Kubernetes is an abstraction that enables reliable and consistent communication between different components of an application by providing a stable endpoint and load balancing traffic across a set of Pods. Services facilitate both internal and external communication,
Communication from outside

Deployment -> ReplicaSet -> Pod

Service + Deployment

To manage application in kubernetes, we recognize deployment and service

コメント

タイトルとURLをコピーしました