[k] 서비스, 파드, 컨테이너 구조 및 CrashLoopBackOff 해결
[k] 서비스, 파드, 컨테이너 구조 Service, Deployment 서비스포트에 targetPort가 있고 Deployment에 conatinerPort및 pod에 conatinerport 없어도 오류 나지 않음 apiVersion: v1 kind: Service metadata: name: name labels: app: name spec: ports: - port: 8080 targetPort: 8080 selector: app: name apiVersion: apps/v1 kind: Deployment metadata: name: d namespace: heis labels: app: d spec: replicas: 1 selector: matchLabels: app: d template: m..
2022.09.26