Member-only story

Relationship between kubernetes object

Meghasharmaa
6 min readNov 12, 2024
  • Deployment → ReplicaSet → Pod→ Container: A Deployment manages ReplicaSets, which then manage Pods. The Deployment abstracts updates by creating a new ReplicaSet as needed, and the ReplicaSet ensures that the desired number of Pods is maintained and pods manages containers.
  • Service → Pod: A Service provides access to Pods, matching them by labels and distributing traffic.
  • Ingress → Service → Pod: Ingress manages HTTP/HTTPS access to Services, which then route traffic to matching Pods.
  • PVC → PV → Pod: PVCs request storage from PVs, which are then used by Pods needing persistent storage.
  • ConfigMap/Secret → Pod: ConfigMaps and Secrets store configuration data for Pods, providing flexibility for different environments or sensitive data handling.

Kubernetes Object Management

The kubectl command-line tool supports several different ways to create and manage Kubernetes objects.

Management techniques:

Management technique        Operates on        Recommended environment…

--

--

Meghasharmaa
Meghasharmaa

Written by Meghasharmaa

DevOps Architect | AWS | Docker | Kubernetes | Terraform | Google Cloud | Python

No responses yet