Job Controller 썸네일형 리스트형 [K8S] Job Controller Job이란 Kubernetes는 Pod를 running 중인 상태로 유지 Batch 처리하는 Pod는 작업이 완료되면 종료된다. Batch 처리에 적합한 컨트롤러로 pod의 성공적인 완료를 보장한다. - 비정상 종료 시 다시 실행 - 정상 종료 시 완료 [master ~]$ kubectl run testpod --image=centos:7 --command sleep 5 pod/testpod created [master ~]$ kubectl get pods --watch NAME READY STATUS RESTARTS AGE testpod 0/1 ContainerCreating 0 5s testpod 1/1 Running 0 9s testpod 0/1 Completed 0 14s testpod 1/1 R.. 더보기 이전 1 다음