kubeeye
What it does
This skill helps an AI agent use KubeEye, a cluster inspection tool for KubeSphere. It is for cluster operators who want regular checks on workloads, nodes and configuration.
When to use it
- βWhen you want to install or configure the KubeEye extension in KubeSphere.
- βWhen you need to write a rule that checks a cluster setting or a workload condition.
- βWhen you want a one-time or scheduled inspection and need its report.
Skill link
https://github.com/kubesphere/kubesphere/blob/master/skills/kubeeye/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCan you set up a KubeEye inspection plan that checks our nodes every night and show me the latest report?β
5 new skills a week. 1 minute to read.
How it works
The agent helps install the extension and create inspection rules and plans in the cluster. It then retrieves the inspection results and shows the report for review.
Technical content (original SKILL.md)
Original text by the author, straight from 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:
Cmdin the diagram refers to thecustomCommandrule 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
FAQ
What kinds of checks can it run?
The skill covers policy checks, metric queries, file changes, kernel settings, system services and more.
Is this skill only for installation?
No. It also covers writing rules, setting up plans and reading reports.
How is KubeEye installed?
The skill describes installing it through an install plan that is applied to the cluster.
Details
Original description by the author
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
Popularity
- GitHub stars
- 17k
- Ranking position
- #10765
- License
- β
- Updated
- 7/14/2026
Comments
- β¦
More skills from this repository
frontend-forge-fe-operations
17kHelps your agent manage FrontendExtension resources in KubeSphere, including building, publishing and debugging them.
frontend-forge-fi-operations
17kHelps your agent create, update, enable, disable and inspect FrontendIntegration resources and the frontend-forge extension in KubeSphere.
frontend-integration-yaml
17kHelps your agent create ready-to-submit FrontendIntegration YAML for a single menu with one or more pages.
kubesphere-cluster-management
17kLets your agent view KubeSphere cluster lists, status, details and version information without making any changes.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.