This probe is on the development roadmap.
Description
The k8s_mon probe monitors Kubernetes resources: Deployment, DaemonSet, StatefulSet (replicas), Pod (readiness, restarts), Node (readiness), and Service (existence). Optional CPU/memory via metrics-server.
Build tag vms_heavy. Uses in-cluster config + ServiceAccount. Requires RBAC get/list on the target resource.
Config fields
Metrics
Deployment / DaemonSet / StatefulSet
Pod
Stats (collectStats = true)
Example config
Notes
- Max 100 pods/nodes emitted per run.
- Missing RBAC →
unknown status with vms.agent.permission_missing{capability=kubernetes_rbac}.
collectStats requires metrics-server installed. If absent, stats are silently skipped.
- Build tag
vms_heavy — not in default agent package.