[CNCF LFX Proposal] Headlamp Kyverno Plugin Policy Visualization & Operational Improvements
CNCF Project
Headlamp
Term
2026 Term 3 (Sep-Nov)
Program Name
Kyverno Policy Visualization & Operational Improvements
Program Description
Headlamp is a CNCF project providing an extensible, user-friendly web UI for Kubernetes clusters, with a growing plugin ecosystem covering CNCF projects like Flux, KEDA, Knative, and Kubeflow.
Kyverno is a CNCF graduated Kubernetes-native policy engine that validates, mutates, and generates Kubernetes resources, used across thousands of clusters. The existing Headlamp Kyverno plugin has a solid dashboard with compliance metrics, policy list views, reports, and a violations view - but it is entirely read-only with no visualizations. Operators cannot see which resources a policy affects, why a policy behaves the way it does, or how to troubleshoot a violation. The plugin also has incomplete i18n coverage, no accessibility improvements, missing detail views for CEL-based policies (Kyverno v2), and no Prometheus metrics integration.
This project significantly upgrades the existing Headlamp Kyverno plugin by introducing two centerpiece visualizations - a Policy Impact Map to help operators understand which resources a policy affects and why, and an enhanced Violation Drill-Down to troubleshoot exactly which rule failed and how to fix it. The mentee will also integrate Prometheus metrics for real-time policy engine health, complete internationalization (i18n) coverage across all components, add accessibility (a11y) improvements , complete missing detail views for Kyverno v2 CEL policies, and register Kyverno as a Map view source in Headlamp.
Expected Outcomes
- Policy Impact Map visualization: an interactive relationship graph on each Policy/ClusterPolicy detail page showing Policy → Namespaces → Affected Resources, color-coded by result status (pass/fail/warn). Clicking a resource node navigates to that resource's Headlamp detail page. Built using Headlamp's registerMapSource API to integrate natively with the Map view.
- Policy Rule Explainer: per-rule plain-English summaries on each policy detail page of what the rule enforces, which selectors match it, and a live count of currently passing vs. failing resources.
- Violation Drill-Down view: enhanced violations view grouped by policy (not just by resource), showing the exact rule that failed, the resource spec field that caused it, and a diff-format fix suggestion with "Jump to resource" and "Jump to policy" cross-links.
- Glance tooltips (registerKubeObjectGlance) for ClusterPolicy, Policy, PolicyReport, and ClusterPolicyReport — showing rule count, enforcement mode, and compliance % on hover in the Map view.
- Prometheus metrics integration: Kyverno-specific charts on detail pages — admission request rate (kyverno_admission_requests_total), violation rate (kyverno_policy_results_total{rule_result="fail"}), and controller reconcile duration (kyverno_controller_reconcile_duration_seconds) — following the established Prometheus plugin pattern.
- Complete i18n coverage: audit all 20+ component files, wrap all hardcoded strings with t(), and complete locale files for en, de, fr, es, zh, ja.
- Accessibility (a11y) improvements: ARIA labels on all icon buttons and charts, keyboard navigation for all interactive elements, screen-reader-compatible text equivalents for charts, color-blind-friendly palette (icons + patterns in addition to color), visible focus indicators.
- CRDs up to date (Kyverno v2): complete missing detail views for all CEL-based policy types (ValidatingPolicy, MutatingPolicy, GeneratingPolicy, DeletingPolicy, ImageValidatingPolicy), and update resource definitions to handle v2 schema differences.
- README with prerequisites and limitations, Storybook stories for all new components, and a blog post demoing the Policy Impact Map and violation troubleshooting workflow
Technologies
TypeScript, React, Kubernetes, Kyverno CRDs, Prometheus
Skills same as Technologies?
- [ ] Yes, the required skills are the same as the technologies listed above.
Required/Desirable Skills
(Optional) UX design sensibilities
Mentors
Rene Dudfield | @illume | [email protected] | illume Sumit Goyal | @itvi-1234 | [email protected] | sumit15012005 Ashwani Yadav | @NAME-ASHWANIYADAV | [email protected] | ashwaniyadav
Upstream Issue URL
https://github.com/headlamp-k8s/plugins/issues/938
Application Prerequisites
- [x] Resume
- [x] Cover Letter
- [ ] School Enrollment Verification
- [ ] Participation Permission from school or employer
- [ ] Coding Challenge
- [ ] Custom Prerequisite (fill in details below)
Coding Challenge URL
No response
Custom Prerequisite Name
No response
Custom Prerequisite Description
No response
Custom Prerequisite — File Upload
- [ ] Yes — completion of this task requires the mentee to submit a file.
LFX program: CNCF - Headlamp: Kyverno Policy Visualization & Operational Improvements (2026 Term 3)
🤖 LFX Proposal Validation
LFX program title (86/100 chars):
CNCF - Headlamp: Kyverno Policy Visualization & Operational Improvements (2026 Term 3)
✅ All checks passed.
⚠️ 1 warning(s):
- LFX LFID/email verification is not yet automated. Please manually confirm mentor emails are registered on https://mentorship.lfx.linuxfoundation.org.
✅ Passed checks
- CNCF Project: Headlamp
- Term: 2026 Term 3 (Sep-Nov)
- Program Name length: 55/69 chars available
- Program Description: 1525/3000 chars
- Technologies: TypeScript, React, Kubernetes, Kyverno CRDs, Prometheus
- Skills: (Optional) UX design sensibilities
- Mentors: 3 listed (primary: Rene Dudfield)
- Upstream Issue URL: https://github.com/headlamp-k8s/plugins/issues/938
- Quota: 3/4 proposals for Headlamp in 2026 Term 3 (Sep-Nov)
What happens next
- Maintainer approval — ⏳ a project maintainer (or authorized delegate) comments
/approve. - Mentor confirmation — ⏳ 2 of 3 confirmed; @itvi-1234 auto-counted as proposer. Awaiting
/confirmfrom @name-ashwaniyadav. - CNCF approval — ⏳ a CNCF admin comments
/cncf-approveto finalize.
Re-run by editing the issue.
/confirm
❌ /confirm requires the proposal to pass validation first.
/confirm
ℹ️ Mentor confirmation is already recorded for this proposal.
/confirm
✅ All 3 listed mentor(s) have confirmed. Mentor confirmation is complete.
This looks like it's ready for Sig-contribex: @kaslin @mfahlandt @palnabarun @MadhavJivrajani @Priyankasaggu11929, could one of you have a look and provide an /approve.
/approve
from SIG ContribEx side, considering @illume has already vetted the scope of proposal from Headlamp side.
Thanks!
✅ Maintainer approval recorded from @Priyankasaggu11929 (approvers.yml (fallback handle)).
🎯 Both maintainer approval and mentor confirmation received. This proposal is now awaiting final CNCF admin approval.
A CNCF program admin will review and comment /cncf-approve to finalize.
Thanks, everyone!
/cncf-approve
✅ CNCF admin approval granted by @nate-double-u.
This proposal is approved and will be included in the next LFX export.
📦 This proposal has been included in the 2026 Term 3 (Sep-Nov) export.
Export files: programs/lfx-mentorship/2026/03-Sep-Nov/
The export PR is awaiting review. Once merged and posted to LFX, this issue will be updated again.
/lfx-url https://mentorship.lfx.linuxfoundation.org/project/db537dd6-3ea7-49d0-9a53-f0b4ad772add
✅ LFX URL recorded from @Swil78: https://mentorship.lfx.linuxfoundation.org/project/db537dd6-3ea7-49d0-9a53-f0b4ad772add
Next on LFX:
- An LFX admin approves the program.
- Once approved, CNCF admins add the mentors.
Hi everyone,
Applications open Monday, Aug 3 at 00:00 UTC and close Tuesday, Aug 18 at 23:59 UTC. This happens automatically. You can view the program at the link above.
The CNCF will publish social media posts to help promote it. Please also share it on your project's social media channels.
Candidates choose their program from this list: https://github.com/cncf/mentoring/tree/main/programs/lfx-mentorship/2026/03-Sep-Nov
Hi @itvi-1234 @illume, could you clarify what the custom prerequisite is?
Hi @itvi-1234 @illume, could you clarify what the custom prerequisite is?
There doesn't appear to be one, @kishansinghifs1. The Custom Prerequisite checkbox is unchecked, and there's no details filled in below it.