Kubernetes Pod 재시작

snooby·2022년 8월 24일
2

🐳 Docker & K8S

목록 보기
35/51
post-thumbnail
# kubectl get pod <pod_name> -n <namespace> -o yaml | kubectl replace --force -f-

# 예)
# kubectl get pod mysql-0 -n mysql-clusters -o yaml | kubectl replace --force -f- 
profile
데이터를 가치있게 다루고 싶은 개발자 🐥

0개의 댓글