apiVersion: monitoring.coreos.com/v1 kind: PodMonitor metadata: name: chariot2-pod-monitor annotations: monitoring.edge.ncr.com/allowed-metrics: | chariot2_deadline_exceeded_total chariot2_errors_total chariot2_google_api_errors_total chariot2_requests_total chariot2_storage_operations_total spec: selector: matchLabels: app.kubernetes.io/name: chariot2 jobLabel: app.kubernetes.io/name podMetricsEndpoints: - port: metrics interval: 60s path: /metrics