
[Kubernetes] Common - 2. Pod & ReplicaSet & Deployment
·
Kubernetes/Common
1. Pod란?Kubernetes에서 애플리케이션을 실행하는 가장 작은 배포 단위로, 하나 이상의 컨테이너를 묶은 논리적 단위이다.pod는 같은 네트워크 공간(IP, Port), 스토리지 볼륨, 라이프사이클을 공유한다. 2. Pod 샘플파일 형식 : .yml or .yamlapiVersion: v1kind: Podmetadata: name: sample-pod namespace: defaultspec: containers: - name: nginx image: nginx:1.27.0 resources: requests: cpu: "300m" memory: "500Mi" limits: cpu: "300m" memory: ..