Skip to content

feat:Add PrometheusRule manifests for operational alerting #109

Description

@iamdeepaktiwari08

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:

  • 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?

  • I can implement this if guidance is provided
  • I can test this once it's built
  • I'm just suggesting the idea

Metadata

Metadata

Labels

claimedSomeone is actively working on this (auto-released after 10d inactivity)enhancementNew feature or requesttriageNeeds maintainer review and labeling

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions