KubeEye is a cloud-native Kubernetes cluster inspection tool that detects misconfigurations, unhealthy components, and node issues using customizable rules.
KubeEye aims to find various problems on Kubernetes, such as application misconfiguration, unhealthy cluster components and node problems.
KubeEye is used by Kubernetes administrators and DevOps teams to proactively identify and assess risks within Kubernetes clusters, including application misconfigurations and cluster health problems. It enables automated, scheduled inspections with customizable rules to maintain cluster security and stability.
PromQL-based inspection rules require a configured Prometheus endpoint prior to use. Offline installation requires manual import of container images and modification of Helm chart values. Inspection schedules use cron expressions and support pausing and retention limits. Multi-cluster inspection is currently supported only within KubeSphere environments.
Download the installation package from the Releases page for the desired version.
Extract the package using: tar -zxvf kubeeye-offline-${VERSION}.tar.gz
Change directory to the extracted folder: cd kubeeye-offline-${VERSION}
Import container images from the 'images' folder into the local container repository.
Modify image repository paths in chart/kubeeye/values.yaml as needed.
Install or upgrade KubeEye using Helm: helm upgrade --install kubeeye chart/kubeeye -n kubeeye-system --create-namespace
kubectl apply -f rules
Import demo or custom inspection rules into the Kubernetes cluster.
kubectl apply -f plan.yaml
Create and apply an inspection plan that schedules and manages cluster inspections.
kubectl get inspectresult
List inspection results available in the cluster.
kubectl get svc -n kubeeye-system kubeeye-apiserver -o custom-columns=CLUSTER-IP:.spec.clusterIP,PORT:.spec.ports[*].port
Retrieve the IP address and port of the KubeEye API server service.
curl http://<svc-ip>:9090/kapis/kubeeye.kubesphere.io/v1alpha2/inspectresults/<result name>?type=html -o inspectReport.html
Download the inspection report in HTML format for viewing in a browser.