self-healing

  • 정상적인 컨테이너로 어플리케이션 서비스를 하는것을 보장

  • 정상적이지 않으면 컨테이너를 restart한다

  • 설정 방법

    • spec에 linessProbe 추가
  • httpGet

    livenessProbe:
    httpGet:
      path:/
      port:80
  • tcpSocket

    livenessProbe:
    tcpSocket:
      port:8080
  • exec

    livenessProbe:
    exec:
      command:
      - ${명령어}

+ Recent posts