AWS EKS
AWS EKS 클러스터 자산과 AWS/EKS 컨트롤 플레인 모니터링 데이터를 수집합니다.
구성¶
Func 설치¶
Guance 통합 - 확장 - 호스팅 Func를 활성화하는 것을 권장합니다. 모든 사전 요구 사항이 자동으로 설치되므로 스크립트 설치를 진행하세요.
Func를 직접 배포하려면 자체 호스팅 Func를 참조하세요.
스크립트 활성화¶
팁: 요구 사항을 충족하는 AWS 액세스 키를 미리 준비하세요(간편한 설정을 위해 전역 읽기 전용 권한인
ReadOnlyAccess를 부여할 수 있습니다).
호스팅 버전 스크립트 활성화¶
- Guance 콘솔에 로그인합니다
- [통합] 메뉴를 클릭하고 [클라우드 계정 관리]를 선택합니다
- [클라우드 계정 추가]를 클릭하고 [AWS]를 선택한 뒤 화면에 필요한 정보를 입력합니다. 이전에 클라우드 계정 정보가 이미 설정되어 있다면 이 단계를 건너뜁니다
- [테스트]를 클릭하고, 테스트에 성공하면 [저장]을 클릭합니다. 테스트에 실패하면 관련 설정이 올바른지 확인한 뒤 다시 테스트합니다
- [클라우드 계정 관리] 목록에서 추가된 클라우드 계정을 확인할 수 있습니다. 해당 클라우드 계정을 클릭해 상세 페이지로 이동합니다
- 클라우드 계정 상세 페이지의 【통합】 버튼을 클릭한 뒤
설치되지 않음목록에서AWS EKS을 찾아 【설치】 버튼을 클릭하면 설치 화면이 나타납니다. 【설치】 버튼을 클릭하면 설치 화면이 나타나므로 설치를 진행하면 됩니다
수동 스크립트 활성화¶
- Func 콘솔에 로그인하고 [스크립트 마켓]을 클릭하여 Guance 스크립트 마켓으로 이동한 다음
integration_aws_eks를 검색합니다. - [설치]를 클릭한 후 AWS AK ID, AK Secret, 계정 이름을 입력합니다.
- [시작 스크립트 배포]를 클릭합니다. 시스템이
Startup스크립트 세트를 자동으로 생성하고 해당 시작 스크립트를 구성합니다. - 활성화하면 [관리 / 자동 트리거 구성]에서 해당 구성을 확인할 수 있습니다. [실행]을 클릭하면 예약 시간까지 기다리지 않고 즉시 한 번 실행할 수 있습니다. 잠시 후 작업 실행 기록과 관련 로그를 확인하세요.
검증¶
- [관리 / 자동 트리거 구성]에서 해당 작업의 자동 트리거 구성이 있는지 확인하고 작업 기록과 로그에서 이상 여부를 점검합니다.
- Guance의 [인프라 / 사용자 정의]에서 자산 정보가 있는지 확인합니다.
- Guance의 [메트릭]에서 해당 모니터링 데이터가 있는지 확인합니다.
메트릭¶
메트릭 세트는 aws_eks입니다.
| MetricName | MetricDescribe | Dimensions | Unit |
|---|---|---|---|
apiserver_admission_webhook_rejection_count_ADMIT |
어드미션 webhook 거부 횟수(admit) | ClusterName | count |
apiserver_admission_webhook_rejection_count_VALIDATING |
어드미션 webhook 거부 횟수(validating) | ClusterName | count |
apiserver_admission_webhook_request_total |
어드미션 webhook 총 요청 수 | ClusterName | count |
apiserver_admission_webhook_request_total_ADMIT |
어드미션 webhook 총 요청 수 (admit) | ClusterName | count |
apiserver_admission_webhook_request_total_VALIDATING |
어드미션 webhook 총 요청 수 (validating) | ClusterName | count |
apiserver_current_inflight_requests_MUTATING |
API Server의 현재 동시 요청 수(mutating) | ClusterName | count |
apiserver_current_inflight_requests_READONLY |
API Server의 현재 동시 요청 수(readonly) | ClusterName | count |
apiserver_flowcontrol_current_executing_seats |
API 우선순위 및 공정성 메커니즘의 현재 실행 시트 수 | ClusterName | count |
apiserver_request_duration_seconds_DELETE_P99 |
DELETE 요청의 기본 P99 지연 시간 | ClusterName | s |
apiserver_request_duration_seconds_GET_P99 |
GET 요청의 기본 P99 지연 시간 | ClusterName | s |
apiserver_request_duration_seconds_LIST_P99 |
LIST 요청의 기본 P99 지연 시간 | ClusterName | s |
apiserver_request_duration_seconds_PATCH_P99 |
PATCH 요청의 기본 P99 지연 시간 | ClusterName | s |
apiserver_request_duration_seconds_POST_P99 |
POST 요청의 기본 P99 지연 시간 | ClusterName | s |
apiserver_request_duration_seconds_PUT_P99 |
PUT 요청의 기본 P99 지연 시간 | ClusterName | s |
apiserver_request_total |
API Server 요청 수 | ClusterName | count |
apiserver_request_total_429 |
API Server 요청 수 (429) | ClusterName | count |
apiserver_request_total_4XX |
API Server 요청 수 (4XX) | ClusterName | count |
apiserver_request_total_5XX |
API Server 요청 수 (5XX) | ClusterName | count |
apiserver_storage_size_bytes |
etcd에서 할당한 디스크 공간 | ClusterName | B |
etcd_mvcc_db_total_size_in_use_in_bytes |
etcd 데이터베이스의 실제 사용 크기 | ClusterName | B |
scheduler_pending_pods |
스케줄러에서 대기 중인 Pod 수 | ClusterName | count |
scheduler_pending_pods_ACTIVEQ |
스케줄러에서 대기 중인 Pod 수 (activeq) | ClusterName | count |
scheduler_pending_pods_BACKOFF |
스케줄러에서 대기 중인 Pod 수 (backoff) | ClusterName | count |
scheduler_pending_pods_GATED |
스케줄러에서 대기 중인 Pod 수 (gated) | ClusterName | count |
scheduler_pending_pods_UNSCHEDULABLE |
스케줄러에서 대기 중인 Pod 수 (unschedulable) | ClusterName | count |
scheduler_schedule_attempts_ERROR |
스케줄링 시도 횟수(error) | ClusterName | count |
scheduler_schedule_attempts_SCHEDULED |
스케줄링 시도 횟수(scheduled) | ClusterName | count |
scheduler_schedule_attempts_total |
스케줄링 시도 횟수(total) | ClusterName | count |
scheduler_schedule_attempts_UNSCHEDULABLE |
스케줄링 시도 횟수(unschedulable) | ClusterName | count |