個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Find deprecated packages/libs still running in your cluster
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Is end-of-life software still running in your cluster? Python 3.8, Node 16 and Alpine 3.18 are past end of life (EOL), but are any of your images still built on them?
xeol-operator scans every image running in your Kubernetes cluster, finds runtimes, databases, frameworks and distros that are past end of life or close to it, and shows you which workloads to fix first. Turn on trivy and the same scan also lists known vulnerabilities (CVEs). Results go to Grafana, Prometheus alerts, or a built-in web page.
trivy.enabled, trivy matches the SBOM already built for the EOL scan, so images aren't pulled twice. It adds about 0.2 s and 150 MB per image. CVEs you've accepted can be hidden by ID or package, like accepted EOL products.helm repo add xeol-operator https://rishang.github.io/xeol-operator
helm repo update
# With kube-prometheus-stack and Grafana (Infinity plugin):
helm install xeol-operator xeol-operator/xeol-operator -n xeol-system --create-namespace \
--set serviceMonitor.enabled=true \
--set prometheusRule.enabled=true \
--set grafanaDatasource.enabled=true
kubectl -n xeol-system port-forward svc/xeol-operator-metrics 8080 &
curl -s localhost:8080/api/v1/status # images_scanned, workloads_eol, last_sweep, ...
No Grafana? Use the built-in page instead:
helm install xeol-operator xeol-operator/xeol-operator -n xeol-system --create-namespace \
--set ui.enabled=true --set mcp.enabled=true
kubectl -n xeol-system port-forward deploy/xeol-operator 8080
# open http://localhost:8080/
Ask an AI assistant over MCP:
claude mcp add --transport http xeol http://localhost:8080/mcp
# "Which workloads in prod run software that is already end of life?"
Add trivy to the same scan:
helm upgrade xeol-operator xeol-operator/xeol-operator -n xeol-system --reuse-values --set trivy.enabled=true
trivy sbom reads it for known vulnerabilities. The image isn't pulled again.xeol: vulnerabilities (trivy)), a Trivy tab on the web page, /api/v1/vulnerabilities, per-image counts in Prometheus and a stale-database alert.--set eol.enabled=false. At least one scan type stays on.The web page, MCP tools and JSON API are read-only and have no login: reach them with port-forward, and don't expose them through a public Ingress.
Each image is scanned once, no matter how many Pods run it, and rescanned every interval (default 24h). The numbered steps are explained in Architecture.
With prometheusRule.enabled:
| Alert | Fires when |
|---|---|
XeolEOLSoftwareRunning | A running image contains software past EOL |
XeolEOLSoftwareSoon | Software reaches EOL within 90 days (prometheusRule.eolSoonDays) |
XeolDatabaseStale | The EOL database is older than 30 days |
XeolDatabaseMissing | There is no EOL database, so nothing is scanned |
XeolScanErrors | Images keep failing to scan |
XeolVulnDatabaseStale | The trivy database is older than 7 days (trivy.enabled) |
Add scanner.workloadLabels: [team] to label metrics with each workload's team and route every team its own alerts.
Scan scope lives in Helm values under scanner.*. The chart renders them into a config file (the ConfigMap xeol-operator-config, mounted into the pod), which the operator reloads when it changes:
scanner:
namespaceSelector: {} # empty = all namespaces
excludeNamespaces: ["kube-*"] # globs
excludeImages: [] # globs on the image reference
interval: 24h # rescan each image this often
workloadLabels: [team] # copied onto metrics as k8s_label_team
ignoreProducts: # accepted findings, hidden everywhere
- products: [perl] # endoflife.date name
namespaces: [test] # optional; also cycles, selector
ignoreVulnerabilities: # accepted vulnerabilities (trivy), same scoping
- ids: [CVE-2024-1234] # and/or packages: [libcrypto3]
Changes apply without a restart, from helm upgrade or kubectl edit configmap xeol-operator-config; a bad edit is rejected and the previous config stays (Configuration). Memory, timeouts, workers and the air-gapped DB are covered in Helm setup.
To rescan now instead of waiting for interval: kubectl -n xeol-system exec deploy/xeol-operator -- /manager rescan ['python:3.8*' ...] (every running image without globs). An AI assistant can do the same through MCP with mcp.allowRescan=true (Rescan now).
| Metric | Value | Labels |
|---|---|---|
xeol_eol_date_seconds | EOL date (Unix seconds) | image, digest, product, cycle, package, version, url |
xeol_image_workload | 1 | digest, namespace, kind, name, k8s_label_* |
xeol_db_built_timestamp_seconds | DB build time | |
xeol_scan_duration_seconds | histogram | |
xeol_vulnerabilities | count (trivy.enabled) | digest, severity, fixable |
xeol_vuln_db_updated_timestamp_seconds | trivy DB publish time (trivy.enabled) | |
xeol_scan_errors_total | counter | reason (auth, not_found, timeout, oom, other, trivy) |
The EOL date is the metric value, so how close counts is up to your query:
xeol_eol_date_seconds < time() # already EOL
(xeol_eol_date_seconds - time()) / 86400 < 90 # EOL within 90 days
Join xeol_image_workload on digest to get workloads (the dashboard's main table does this). Vulnerabilities are counts per image, never one series per CVE; the CVE list is at /api/v1/vulnerabilities:
sum by (namespace, name) (xeol_image_workload * on(digest) group_left sum by (digest) (xeol_vulnerabilities{severity="CRITICAL"}))
Full documentation: https://rishang.github.io/xeol-operator/
| Quick start | Install from the Helm repository, first results |
| Usage | Install, read results, tune, troubleshoot |
| Helm | Every chart value, upgrade, uninstall |
| Configuration | Config file fields, globs, ignore rules, live reload, errors |
| Air-gapped | Clusters without internet access |
| Architecture | Components, scan flow, where data is stored, failure handling |
For AI tools, the site also serves llms.txt, llms-small.txt and llms-full.txt.
The chart is also listed on Artifact Hub; its source is in helm/xeol-operator.
task --list # all tasks
task test # unit + envtest
task test-e2e # Helm smoke test in a throwaway k3d cluster
task cluster-up # local k3d cluster: kube-prometheus-stack, EOL test apps, operator
task deploy-dev # rebuild and redeploy the operator to k3d
task docs-dev # docs site (ui/, Astro Starlight) at http://localhost:4321/xeol-operator/
The docs live in ui/src/content/docs/*.mdx; to install from a clone instead of the Helm repository, use helm install xeol-operator ./helm/xeol-operator.
Design and conventions: AGENTS.md. Specs: openspec/specs/.