(→설정) |
(→설정) 태그: 되돌려진 기여 |
||
22번째 줄: | 22번째 줄: | ||
| [[k8s failureThreshold|failureThreshold]] || 3 || 1 | | [[k8s failureThreshold|failureThreshold]] || 3 || 1 | ||
|} | |} | ||
==작성 예시== | |||
<syntaxhighlight lang='yaml'> | |||
livenessProbe: | |||
periodSeconds: 3 | |||
failureThreshold: 1200 | |||
httpGet: | |||
path: /healthz | |||
port: 80 | |||
</syntaxhighlight> | |||
==같이 보기== | ==같이 보기== |
2022년 2월 13일 (일) 16:37 판
1 개요
- k8s Probe, k8s Container Probe
- k8s 프로브, k8s 컨테이너 프로브
2 종류
3 설정
설정 | 기본값 | 최소값 |
---|---|---|
initialDelaySeconds | 0 | 0 |
periodSeconds | 10 | 1 |
timeoutSeconds | 1 | 1 |
successThreshold | 1 | 1 |
failureThreshold | 3 | 1 |
4 작성 예시
yaml
Copy
livenessProbe:
periodSeconds: 3
failureThreshold: 1200
httpGet:
path: /healthz
port: 80
5 같이 보기
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.