Managed Kubernetes
v5.7
Kubernetes API Monitoring
Kubernetes API Monitoring Rules
The Prometheus agent is configured to report numerous K8s metrics. Below is the YAML-based rule set that Catapult uses, including alert names, expression, timeframe, labels, and annotations which contain the description and summaries.
bash-5.0# cat k8s.yml
groups:
- name: kube-apiserver
rules:
#----------------------------------- API server -------------------------------------
- alert: KubeAPIServerDown
expr: up{job="kube-apiserver"} offset 5m == 0
for: 1m
labels:
severity: critical
type: k8s
annotations:
description: Kubernetes API server down on cluster {{ $labels.cluster }}
summary: "Cluster {{ $labels.cluster }}: Kube api server down on host {{ $labels.host }}"
- alert: KubernetesApiServerErrors
expr: sum(rate(apiserver_request_total{code=~"(4|5).."}[1m] offset 5m )) by (cluster, host) / sum(rate(apiserver_request_total[1m] offset 5m )) by (cluster, host) * 100 > 3
for: 2m
labels:
severity: critical
Last updated by Anagha Pamidi on Jan 27, 2026
Was this page helpful?
Overview
Getting Started
Clusters
PMK CLI
APIs
In Cluster Monitoring
Cluster and App GitOps
Platform9 Managed Add-ons
Platform Administration
Workloads & Apps
Support
Powered by
