Health Probes
헬스 프로브
헬스 프로브는 서비스가 시작 중인지, 트래픽 처리 준비가 되었는지, 여전히 살아 있는지를 플랫폼에 알려주는 작은 점검입니다.
startup failure -> restart policy; startup success -> enable checks; readiness failure -> remove traffic; liveness failure -> restart policystartup failure -> restart policy; startup success -> enable checks; readiness failure -> remove traffic; liveness failure -> restart policySRE다른 예시
실패한 준비 상태 검사는 트래픽을 제거합니다. 반복적인 시작 또는 생존 상태 실패는 플랫폼이 재시작 정책을 따르게 만듭니다.
주요 부분
- 01시작 탐침
- 02준비 상태 검사
- 03라이브니스 프로브
- 04엔드포인트 확인
- 05실패 임계값
- 06라우팅 또는 재시작 동작
사용할 때
실행 중인 프로세스가 준비되지 않았을 수 있는 경우 별도의 프로브를 사용하세요. 각 프로브에는 명확한 질문 하나와 안전한 임계값을 설정하세요.
다음 경우에는 사용하지 마세요
활성 상태(liveness)를 모든 원격 서비스에 의존하게 하지 마세요. 공유된 장애는 모든 정상 프로세스를 재시작시켜 복구를 어렵게 만들 수 있습니다.
코드에서 사용된 이름
startup failure -> restart policy; startup success -> enable checks; readiness failure -> remove traffic; liveness failure -> restart policy 출시하기 전에
Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback.
Outcome:Complete the task with 헬스 프로브 (Health Probes)。 User context:실패한 준비 상태 검사는 트래픽을 제거합니다. 반복적인 시작 또는 생존 상태 실패는 플랫폼이 재시작 정책을 따르게 만듭니다. Technical concept or control:헬스 프로브 (Health Probes)。 Why it fits:실행 중인 프로세스가 준비되지 않았을 수 있는 경우 별도의 프로브를 사용하세요. 각 프로브에는 명확한 질문 하나와 안전한 임계값을 설정하세요. Do not use it when:활성 상태(liveness)를 모든 원격 서비스에 의존하게 하지 마세요. 공유된 장애는 모든 정상 프로세스를 재시작시켜 복구를 어렵게 만들 수 있습니다. Engineering requirements: Define inputs, outputs, contracts, and rules that must always hold. Set authorization and input checks. Define failures, timeouts, retries, one-time effects, data moves, and compatibility limits. Operations: Add useful signals and logs that hide sensitive data. Set capacity limits and write an operator guide. Test recovery and rollback. Acceptance criteria: Contract and failure-path tests pass. Data and authorization rules still hold during retries and partial failures. Check performance limits, monitoring, recovery, and rollback. Evidence and limits (evidence boundary):하나의 공식 표준이 전체 용어를 통제하지 않음. 의미는 팀, 플랫폼 또는 프레임워크마다 달라질 수 있음. Unknowns to confirm: Where the code runs, data stores, traffic shape, consistency needs, and the security boundary. Also confirm the compatibility period, service goals, and rollback limits.
이 요청을 확인하세요
Review how 헬스 프로브 (Health Probes) is used now. Definition: 헬스 프로브는 서비스가 시작 중인지, 트래픽 처리 준비가 되었는지, 여전히 살아 있는지를 플랫폼에 알려주는 작은 점검입니다. Release checks: Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.