본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)17k · #10765

kubeeye

하는 일

이 스킬은 AI 에이전트가 KubeSphere용 클러스터 점검 도구인 KubeEye를 사용하도록 돕습니다. 워크로드, 노드, 설정을 정기적으로 점검하고 싶은 클러스터 운영자를 위한 스킬입니다.

사용하는 경우

  • ✓KubeSphere에 KubeEye 확장 기능을 설치하거나 설정하고 싶을 때.
  • ✓클러스터 설정이나 워크로드 상태를 점검하는 규칙을 작성해야 할 때.
  • ✓한 번 또는 예약된 점검을 원하고 그 보고서가 필요한 경우.

스킬 링크

https://github.com/kubesphere/kubesphere/blob/master/skills/kubeeye/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/kubesphere/kubesphere/blob/master/skills/kubeeye/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“매일 밤 노드를 점검하는 KubeEye 점검 계획을 설정하고, 최신 보고서를 보여 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 확장 기능 설치를 돕고, 클러스터에 점검 규칙과 계획을 만듭니다. 그다음 점검 결과를 가져와 검토할 수 있도록 보고서를 보여 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

KubeEye

Overview

KubeEye is a Kubernetes cluster inspection tool for KubeSphere. It detects issues in workloads, nodes, configurations, and components through OPA/Rego policies, PromQL queries, file integrity checks, kernel parameter validation, and systemd health checks. It is installed as a KubeSphere extension.

When to Use

  • Installing or configuring the KubeEye cluster inspection extension in KubeSphere
  • Writing cluster inspection rules (OPA, PromQL, file checks, etc.)
  • Configuring periodic or one-shot inspection tasks
  • Viewing or downloading cluster inspection reports

Architecture

Extension Installation Flow

kspublish (push extension to KubeSphere)
    |
    v
Extension available in KubeSphere marketplace
    |
    v
kubectl apply -f installplan.yaml
    |
    v
KubeEye deployed (3 components)

Runtime Architecture

┌─────────────────────────────────────────────────────────────┐
│                     KubeSphere Extension                    │
│                                                             │
│  ┌─────────────────────┐   ┌─────────────────────────────┐  │
│  │   kubeeye-apiserver │   │  kubeeye-controller-manager │  │
│  │   (Gin REST API)    │   │  (4 CRD Controllers)        │  │
│  │   Port 9090         │   │                             │  │
│  └──────────┬──────────┘   └──────────────┬──────────────┘  │
│             │                              │                 │
│             ▼                              ▼                 │
│  ┌──────────────────────────────────────────────────────┐   │
│  │                    CRDs                              │   │
│  │  ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌────────┐ │   │
│  │  │InspectRule│ │InspectPlan│ │InspectTask│ │Inspect │ │   │
│  │  │          │ │          │ │          │ │Result  │ │   │
│  │  └──────────┘ └──────────┘ └──────────┘ └────────┘ │   │
│  └──────────────────────────────────────────────────────┘   │
│                              │                              │
│                              ▼                              │
│  ┌──────────────────────────────────────────────────────┐   │
│  │              kubeeye-job (K8s Jobs)                  │   │
│  │  OPA ├─ PromQL ├─ FileChange ├─ Sysctl ├─ Systemd   │   │
│  │  NodeInfo ├─ FileFilter ├─ ServiceConnect ├─ Cmd    │   │
│  └──────────────────────────────────────────────────────┘   │
└─────────────────────────────────────────────────────────────┘

Note: Cmd in the diagram refers to the customCommand rule type.

CRD Overview

CRD API Version Scope Purpose
InspectRule kubeeye.kubesphere.io/v1alpha2 Cluster Defines inspection rules (OPA, PromQL, file checks, etc.)
InspectPlan kubeeye.kubesphere.io/v1alpha2 Cluster Schedules inspection execution (cron or one-shot)
InspectTask kubeeye.kubesphere.io/v1alpha2 Cluster Tracks a single inspection execution (created by InspectPlan)
InspectResult kubeeye.kubesphere.io/v1alpha2 Cluster Stores inspection results (populated by InspectTask)

CRD Data Flow

User creates InspectRule ──────┐
                               ├──> InspectPlan references InspectRules
User creates InspectPlan ──────┘         |
                                         | (cron trigger or manual)
                                         v
                               InspectTask created by InspectPlanReconciler
                                         |
                                    InspectTaskReconciler:
                                    1. Fetches referenced InspectRules
                                    2. Merges rules per type
                                    3. Creates K8s Jobs (kubeeye-job)
                                    4. Jobs execute rule checks
                                    5. Results accumulated
                                         |
                                         v
                               InspectResult populated with findings
                                         |
                                         v
                               User views results via:
                               - kubectl get inspectresult
                               - API: HTML report / XLSX download

Before You Start

Check if the KubeEye extension is available:

kubectl get extensionversions | grep kubeeye

Expected output: `kubee

자주 묻는 질문

어떤 종류의 점검을 할 수 있나요?

정책 검사, 메트릭 조회, 파일 변경, 커널 설정, 시스템 서비스 등을 다룹니다.

이 스킬은 설치만 다루나요?

아니요. 규칙 작성, 계획 설정, 보고서 읽기도 다룹니다.

KubeEye는 어떻게 설치하나요?

스킬은 클러스터에 적용되는 설치 계획을 통해 설치하는 방법을 설명합니다.

상세 정보

작성자의 원본 설명

Use when deploying KubeEye for cluster inspection, creating InspectRule/InspectPlan resources, or retrieving inspection results. Covers InstallPlan-based deployment, OPA/PromQL/FileChange/Sysctl/Systemd/NodeInfo/FileFilter/ServiceConnect/CustomCommand rule types, and report retrieval. Always consult this skill when the user mentions KubeEye, cluster inspection, InspectRule, InspectPlan, or inspection reports.

repo: kubesphere/kubesphere

인기도

GitHub 스타
17k
순위
#10765
라이선스
—
업데이트
2026. 7. 14.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬