mirror of https://github.com/grpc/grpc.git
[PSM Interop] Add PodMonitoring resource to psm xds interop testing framework (#34752)
Add a `PodMonitoring` resource type to the PSM interop testing framework. This is needed so that GMP (Google Managed Prometheus) can scrape the matching GKE pods Prometheus endpoint for Prometheus metrics.pull/34837/head
parent
300eadadfe
commit
2091d31ccf
2 changed files with 28 additions and 0 deletions
@ -0,0 +1,13 @@ |
||||
--- |
||||
apiVersion: monitoring.googleapis.com/v1 |
||||
kind: PodMonitoring |
||||
metadata: |
||||
namespace: ${namespace_name} |
||||
name: ${deployment_id}-gmp |
||||
spec: |
||||
selector: |
||||
matchLabels: |
||||
deployment_id: ${deployment_id} |
||||
endpoints: |
||||
- port: 9464 |
||||
interval: 10s |
Loading…
Reference in new issue