Created
February 5, 2019 17:49
-
-
Save ekarlso/5e3d88a669e00f192ddb5eba510aad9f to your computer and use it in GitHub Desktop.
This file contains 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: v1 | |
items: | |
- apiVersion: monitoring.coreos.com/v1 | |
kind: Prometheus | |
metadata: | |
creationTimestamp: 2019-01-21T19:20:22Z | |
generation: 1 | |
labels: | |
app: prometheus-operator-prometheus | |
chart: prometheus-operator-2.1.5 | |
heritage: Tiller | |
prometheus: default | |
release: prometheus-operator | |
name: prometheus-operator-prometheus | |
namespace: monitoring | |
resourceVersion: "2008008" | |
selfLink: /apis/monitoring.coreos.com/v1/namespaces/monitoring/prometheuses/prometheus-operator-prometheus | |
uid: 99079dd0-1db1-11e9-a651-62025fd6963b | |
spec: | |
alerting: | |
alertmanagers: | |
- name: prometheus-operator-alertmanager | |
namespace: monitoring | |
pathPrefix: / | |
port: web | |
baseImage: quay.io/prometheus/prometheus | |
externalUrl: http://prometheus-operator-prometheus.monitoring:9090 | |
listenLocal: false | |
logLevel: info | |
paused: false | |
replicas: 1 | |
retention: 10d | |
routePrefix: / | |
ruleSelector: | |
matchLabels: | |
app: prometheus-operator | |
release: prometheus-operator | |
securityContext: | |
fsGroup: 2000 | |
runAsNonRoot: true | |
runAsUser: 1000 | |
serviceAccountName: prometheus-operator-prometheus | |
serviceMonitorNamespaceSelector: {} | |
serviceMonitorSelector: | |
matchLabels: | |
prometheus: default | |
version: v2.6.1 | |
kind: List | |
metadata: | |
resourceVersion: "" | |
selfLink: "" | |
apiVersion: monitoring.coreos.com/v1 | |
kind: ServiceMonitor | |
metadata: | |
annotations: | |
kubectl.kubernetes.io/last-applied-configuration: | | |
{"apiVersion":"monitoring.coreos.com/v1","kind":"ServiceMonitor","metadata":{"annotations":{},"labels":{"app":"helloworld","chart":"golang-5.0.0","heritage":"Tiller","release":"helloworld","version":"v1"},"name":"helloworld","namespace":"default"},"spec":{"endpoints":[{"path":"/metrics","port":"8081"}],"selector":{"matchLabels":{"app":"helloworld","release":"helloworld"}}}} | |
creationTimestamp: 2019-02-05T14:10:27Z | |
generation: 1 | |
labels: | |
app: helloworld | |
chart: golang-5.2.0 | |
heritage: Tiller | |
release: helloworld | |
version: v1 | |
name: helloworld | |
namespace: default | |
resourceVersion: "2011754" | |
selfLink: /apis/monitoring.coreos.com/v1/namespaces/default/servicemonitors/helloworld | |
uid: c97389f5-294f-11e9-b544-a24d1016ae0d | |
spec: | |
endpoints: | |
- path: /metrics | |
port: "8081" | |
selector: | |
matchLabels: | |
app: helloworld | |
release: helloworld | |
kubectl get service -l app=helloworld,release=helloworld | |
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE | |
helloworld ClusterIP 10.0.224.192 <none> 80/TCP 7h | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment