1
0
Fork 0

initial grafana deployment

This commit is contained in:
Tobias Brunner 2019-08-04 22:19:04 +02:00
parent 76a130a1fa
commit f34cc99f9c
1 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,39 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: grafana
name: grafana
namespace: posmon
spec:
replicas: 1
selector:
matchLabels:
app: grafana
template:
metadata:
labels:
app: grafana
spec:
containers:
- image: grafana/grafana:6.3.0-beta4
name: grafana
ports:
- containerPort: 3000
name: web
---
apiVersion: v1
kind: Service
metadata:
name: grafana-nodeport
namespace: posmon
spec:
ports:
- name: web
nodePort: 30904
port: 3000
protocol: TCP
targetPort: web
selector:
app: grafana
type: NodePort