Last active
December 6, 2020 18:42
-
-
Save sophwats/f1b509bfea291f2c4f027f93378563db to your computer and use it in GitHub Desktop.
Create service pod monitor for service with label serving.knative.dev/service=pipeline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: monitoring.coreos.com/v1 | |
kind: PodMonitor | |
metadata: | |
selfLink: >- | |
/apis/monitoring.coreos.com/v1/namespaces/opendatahub-user2/podmonitors/serverless | |
resourceVersion: '3064349' | |
name: serverless | |
uid: 46255b3c-494d-4ce4-84a2-e872e4c0ce5c | |
creationTimestamp: '2020-12-06T17:52:19Z' | |
generation: 1 | |
managedFields: | |
- apiVersion: monitoring.coreos.com/v1 | |
fieldsType: FieldsV1 | |
fieldsV1: | |
'f:metadata': | |
'f:labels': | |
.: {} | |
'f:team': {} | |
'f:spec': | |
.: {} | |
'f:podMetricsEndpoints': {} | |
'f:selector': | |
.: {} | |
'f:matchLabels': | |
.: {} | |
'f:application': {} | |
'f:serving.knative.dev/service': {} | |
manager: Mozilla | |
operation: Update | |
time: '2020-12-06T17:52:19Z' | |
labels: | |
team: opendatahub | |
spec: | |
podMetricsEndpoints: | |
- interval: 30s | |
selector: | |
matchLabels: | |
serving.knative.dev/service: pipeline |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment