Infra2024년 5월 27일1분 읽기

Kubernetes Pod 생명주기 이해하기

YS
YoungSam
조회 234

Pod 상태

  • Pending: 스케줄링 대기 중
  • Running: 컨테이너 실행 중
  • Succeeded: 정상 종료
  • Failed: 비정상 종료

Probe

livenessProbe:
  httpGet:
    path: /health
    port: 8080
  initialDelaySeconds: 10
  periodSeconds: 5
readinessProbe:
  httpGet:
    path: /ready
    port: 8080

Graceful Shutdown

SIGTERM 신호를 받으면 진행 중인 요청을 마무리하고 종료해야 합니다.

KubernetesK8sContainer

댓글 0

아직 댓글이 없습니다.