Problem statement
Problem
Kerno already exposes Prometheus metrics through the /metrics endpoint and includes a ServiceMonitor for scraping. However, there are currently no PrometheusRule resources for generating alerts based on these metrics.
Without alerting, operators must manually inspect metrics dashboards to detect issues.
Proposed solution
Proposed Solution
Add PrometheusRule manifests with useful operational alerts such as:
Benefits
-
Faster incident detection
-
Improved Kubernetes observability
-
Better operational monitoring
-
Complements the existing ServiceMonitor setup
Alternatives considered
No response
Scope
New CLI subcommand or flag
Affects Kubernetes deployment?
Yes — K8s-specific feature
Are you willing to contribute?
Problem statement
Problem
Kerno already exposes Prometheus metrics through the
/metricsendpoint and includes a ServiceMonitor for scraping. However, there are currently no PrometheusRule resources for generating alerts based on these metrics.Without alerting, operators must manually inspect metrics dashboards to detect issues.
Proposed solution
Proposed Solution
Add PrometheusRule manifests with useful operational alerts such as:
TargetDown (metrics endpoint unavailable)
HighPodRestartCount
HighCPUUsage
HighMemoryUsage
Benefits
Faster incident detection
Improved Kubernetes observability
Better operational monitoring
Complements the existing ServiceMonitor setup
Alternatives considered
No response
Scope
New CLI subcommand or flag
Affects Kubernetes deployment?
Yes — K8s-specific feature
Are you willing to contribute?