컨트롤 플레인 상태 조회
컨트롤 플레인 핵심 컴포넌트(etcd, scheduler, controller-manager) 상태를 조회합니다.
HTTP 요청
http
GET https://<your-console-host>/api/v1/container/cluster/clusters/{cluster_id}/control-plane/healthURI 매개변수
| 이름 | 위치 | 필수 | 형식 | 설명 |
|---|---|---|---|---|
| cluster_id | path | 필수 | integer | 클러스터 ID. 범위 1~ |
요청 헤더
인증 헤더와 조직 헤더는 모든 API 가 같습니다. 공통 규약을 참고하십시오.
이 API 는 파티션 헤더(X-Partition-Id)를 사용하지 않습니다. 보내도 무시됩니다.
응답
| 상태 코드 | 설명 |
|---|---|
| 200 OK | Successful Response |
| 404 Not Found | 클러스터 또는 kubeConfig를 찾을 수 없음 |
| 422 Unprocessable Entity | Validation Error |
위 표는 정상 응답과 요청 검증 실패만 나열합니다. 이 API 는 그 밖에 401(인증 실패) · 403(권한 없음) · 404(리소스 없음) · 502(인프라 오류)를 반환할 수 있습니다. 조건은 오류 처리를 참고하십시오.
응답 본문 — 200
| 이름 | 필수 | 형식 | 설명 |
|---|---|---|---|
| message | 선택 | string 또는 null | 응답 메시지 |
| timestamp | 선택 | string | 응답 생성 시간 |
| requestId | 필수 | string | 요청 식별자 |
| result | 필수 | object | 결과 데이터 |
| result.etcd | 필수 | object | etcd 상태 |
| result.etcd.name | 필수 | string | 컴포넌트 식별자 |
| result.etcd.status | 필수 | string | 상태 값. 값: healthy, unhealthy, unknown |
| result.etcd.uptimeSeconds | 필수 | integer 또는 null | Uptime (seconds). 조회 불가 시 null |
| result.etcd.uptimeDisplay | 필수 | string | Uptime 표시 문자열 |
| result.scheduler | 필수 | object | kube-scheduler 상태 |
| result.scheduler.name | 필수 | string | 컴포넌트 식별자 |
| result.scheduler.status | 필수 | string | 상태 값. 값: healthy, unhealthy, unknown |
| result.scheduler.uptimeSeconds | 필수 | integer 또는 null | Uptime (seconds). 조회 불가 시 null |
| result.scheduler.uptimeDisplay | 필수 | string | Uptime 표시 문자열 |
| result.controllerManager | 필수 | object | kube-controller-manager 상태 |
| result.controllerManager.name | 필수 | string | 컴포넌트 식별자 |
| result.controllerManager.status | 필수 | string | 상태 값. 값: healthy, unhealthy, unknown |
| result.controllerManager.uptimeSeconds | 필수 | integer 또는 null | Uptime (seconds). 조회 불가 시 null |
| result.controllerManager.uptimeDisplay | 필수 | string | Uptime 표시 문자열 |