...
1apiVersion: monitoring.coreos.com/v1
2kind: PodMonitor
3metadata:
4 name: patchctl
5 namespace: patchctl
6 labels:
7 platform.edge.ncr.com/component: patchctl
8 annotations:
9 ## https://kubernetes.io/docs/reference/instrumentation/metrics/
10 monitoring.edge.ncr.com/allowed-metrics: |
11 edge_patch_manager_reconcile_readiness
12 edge_patch_manager_reconcile_duration_seconds_bucket
13 edge_patch_manager_reconcile_duration_seconds_count
14 edge_patch_manager_reconcile_duration_seconds_sum
15spec:
16 selector:
17 matchLabels:
18 platform.edge.ncr.com/component: patchctl
19 podMetricsEndpoints:
20 - port: metrics
21 interval: 60s
22 path: /metrics
View as plain text