Add documentation for example service monitoring

This commit is contained in:
Fabian Reinartz
2016-10-20 17:49:40 +02:00
parent e8d24b7e27
commit ea5d9db5e9
6 changed files with 50 additions and 10 deletions

View File

@@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: prometheus-frontend
namespace: default
spec:
type: NodePort
ports:

View File

@@ -2,6 +2,7 @@ apiVersion: prometheus.coreos.com/v1alpha1
kind: Prometheus
metadata:
name: prometheus-frontend
namespace: default
labels:
prometheus: frontend
spec:

View File

@@ -2,6 +2,7 @@ apiVersion: prometheus.coreos.com/v1alpha1
kind: ServiceMonitor
metadata:
name: frontend
namespace: default
labels:
team: frontend
spec: