"K8s periodSeconds"의 두 판 사이의 차이

잔글 (Jmnote님이 K8s Probe periodSeconds 문서를 K8s periodSeconds 문서로 이동하면서 넘겨주기를 덮어썼습니다)
 
(사용자 2명의 중간 판 5개는 보이지 않습니다)
3번째 줄: 3번째 줄:
;k8s Probe periodSeconds
;k8s Probe periodSeconds
;livenessProbe.periodSeconds & readinessProbe.periodSeconds
;livenessProbe.periodSeconds & readinessProbe.periodSeconds
* readinessProbe 또는 readinessProbe의 점검주기
* [[k8s Probe]]의 점검주기
* 기본값: 10 (초)
* 기본값: 10 (초)


<source lang='yaml'>
<syntaxhighlight lang='yaml'>
apiVersion: v1
apiVersion: v1
kind: Pod
kind: Pod
28번째 줄: 28번째 줄:
       initialDelaySeconds: 5
       initialDelaySeconds: 5
       periodSeconds: 5
       periodSeconds: 5
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
{{z컬럼3|
* [[k8s Probe]]
* [[livenessProbe]]
* [[livenessProbe]]
* [[readinessProbe]]
* [[readinessProbe]]
36번째 줄: 38번째 줄:
* [[successThreshold]]
* [[successThreshold]]
* [[initialDelaySeconds]]
* [[initialDelaySeconds]]
}}


==참고==
==참고==
* https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
* https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes


[[분류: k8s]]
[[분류: k8s Probe]]

2022년 2월 13일 (일) 16:14 기준 최신판

1 개요[ | ]

periodSeconds
k8s Probe periodSeconds
livenessProbe.periodSeconds & readinessProbe.periodSeconds
  • k8s Probe의 점검주기
  • 기본값: 10 (초)
apiVersion: v1
kind: Pod
metadata:
  labels:
    test: liveness
  name: liveness-exec
spec:
  containers:
  - name: liveness
    image: k8s.gcr.io/busybox
    args:
    - /bin/sh
    - -c
    - touch /tmp/healthy; sleep 30; rm -rf /tmp/healthy; sleep 600
    livenessProbe:
      exec:
        command:
        - cat
        - /tmp/healthy
      initialDelaySeconds: 5
      periodSeconds: 5

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}