feat(secrets-manager): container saturation + RPS panel fix for OpenBao on Dedicated
What
Completes the secrets-manager service definition so OpenBao's saturation and request-rate panels populate on the Service Overview dashboard for GitLab Dedicated:
-
Declares
secrets-manageras Kubernetes-provisioned (provisioning: { kubernetes: true, vms: false }) with akubeConfigpod selector onapp=openbao. This maps OpenBao's container metrics totype="secrets-manager"and generates container saturation (kube_container_cpu_limit,kube_container_memory_limit,kube_container_memory_request). Node-level saturation is correctly dropped (nodeLevelMonitoring: falseretained). -
Sets
dashboardRangeInterval: '5m'on theopenbao_requestsSLI. OpenBao is scraped every 60s, so the SLI detail RPS panel's default$__intervalwindow (1m) holds a single sample and renders empty. 5m holds multiple samples — same precedent asrunway-rds-archetype.
Why
Enables the OpenBao container saturation and request-rate panels on the Secrets Manager Service Overview dashboard (work item team#9771).
OpenBao runs as pods on the shared support node pool, co-located with other services such as gitlab-shell, registry, kas and pgbouncer. Because the node is shared across many workloads, node-level saturation (CPU/memory/disk per node) can't be attributed to OpenBao — the node metrics reflect all co-located workloads, not OpenBao alone — so those panels were empty and misleading.
Checking the neighbouring pod services on the same pool (registry, gitlab-shell) confirmed the correct pattern: they expose container-level saturation (kube_container_cpu_limit, kube_container_memory_limit, kube_container_memory_request) and no node-level panels, because container metrics are per-pod and therefore accurate on a shared node. This change applies the same setup to secrets-manager: it replaces the inaccurate node-level panels with container-level ones that correctly measure OpenBao's own usage.
Pairs with instrumentor!9093, which adds the app=openbao pod label the mapping keys on.
Testing
-
make generateis clean and deterministic (no uncommitted diff after regeneration). - Verified end-to-end on the Dedicated integration tenant
itestpshettyopenbaom(via instrumentor!9093): both OpenBao pods map totype="secrets-manager", the 3 container saturation panels populate with real data (CPU ~0.5%, memory ~3.3% of limit; CPU responds to driven load), and the RPS panel populates with the 5m window under traffic.
Related
- Instrumentor pod label: gitlab-com/gl-infra/gitlab-dedicated/instrumentor!9093
- Work item: gitlab-com/gl-infra/gitlab-dedicated/team#9771