Last active
February 28, 2016 22:11
-
-
Save jimmidyson/b7a5deb9179e6aa7dec6 to your computer and use it in GitHub Desktop.
Prometheus Kubernetes manifest
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: v1 | |
kind: Pod | |
metadata: | |
name: prometheus | |
spec: | |
containers: | |
- env: | |
- name: KUBERNETES_NAMESPACE | |
valueFrom: | |
fieldRef: | |
apiVersion: v1 | |
fieldPath: metadata.namespace | |
image: fabric8/prometheus-kubernetes:2.2.119 | |
livenessProbe: | |
tcpSocket: | |
port: 9090 | |
ports: | |
- containerPort: 9090 | |
name: http | |
volumeMounts: | |
- mountPath: /prometheus | |
name: prometheus-data | |
serviceAccountName: metrics | |
volumes: | |
- emptyDir: {} | |
name: prometheus-data | |
- name: metrics-token-17bvx | |
secret: | |
secretName: metrics-token-17bvx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment