apiVersion: monitoring.coreos.com/v1 kind: PodMonitor metadata: name: patchctl namespace: patchctl labels: platform.edge.ncr.com/component: patchctl annotations: ## https://kubernetes.io/docs/reference/instrumentation/metrics/ monitoring.edge.ncr.com/allowed-metrics: | edge_patch_manager_reconcile_readiness edge_patch_manager_reconcile_duration_seconds_bucket edge_patch_manager_reconcile_duration_seconds_count edge_patch_manager_reconcile_duration_seconds_sum spec: selector: matchLabels: platform.edge.ncr.com/component: patchctl podMetricsEndpoints: - port: metrics interval: 60s path: /metrics