Files
Dan Budris 970e811036 feat(controller): count and alert on rejected tenant kubeconfigs (#2096)
Count every tenant kubeconfig the controller refuses to load in
nvke_controller_tenant_kubeconfig_rejected_total, by source: node_agent
for a control-plane node's admin.conf, secret for a published
kubeconfig Secret. Each rejection also logs the cluster, and the node
or Secret. Content rejections wrap kube.ErrInvalidKubeconfig, so other
failures are not counted.

Add NVKETenantKubeconfigRejected to the credential PrometheusRule. It
fires on any rejection in the last ten minutes.

Signed-off-by: dbudris <dbudris@nvidia.com>
2026-11-03 13:11:16 -05:00
..