...

Text file src/edge-infra.dev/config/pallets/sds/k8s-gateway/k8s-gateway-podmonitor.yaml

Documentation: edge-infra.dev/config/pallets/sds/k8s-gateway

     1apiVersion: monitoring.coreos.com/v1
     2kind: PodMonitor
     3metadata:
     4  name: k8s-gateway
     5  labels:
     6    app.kubernetes.io/part-of: k8s-gateway
     7    platform.edge.ncr.com/component: k8s-gateway
     8  annotations:
     9    monitoring.edge.ncr.com/allowed-metrics: |
    10      coredns_panics_total
    11      coredns_dns_requests_total
    12      coredns_dns_responses_total
    13spec:
    14  selector:
    15    matchLabels:
    16      platform.edge.ncr.com/component: k8s-gateway
    17  podMetricsEndpoints:
    18  - port: metrics
    19    interval: 60s
    20    path: /metrics

View as plain text