Workload Resource = Controller
ReplicationController - 컨트롤러에서 파드를 원하는 수만큼 복제해서 생성 yaml 파일로 정의 'myweb-rc.yaml' apiVersion: v1 kind: ReplicationController metadata: name: myweb-rc spec: replicas: 3 selector: app: web # Pod Configure template: metadata: labels: app: web spec: containers: - name: myweb image: ghcr.io/c1t1d0s7/go-myweb ports: - containerPort: 8080 protocol: TCP yaml 파일로 정의한 리소스 생성 kubectl create -f myweb-rc.yaml 생..
2022.05.31