1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-05-09 19:29:29 +08:00
Dušan Borovčanin 993398b8ab NOISSUE - Update Kubernetes setup (#322)
* Add InfluxDB writer services setup to k8s

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>

* Remove commented NginX config

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2018-06-15 13:04:52 +02:00

33 lines
570 B
YAML

apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: mainflux-grafana
labels:
component: mainflux-grafana
spec:
replicas: 1
template:
metadata:
labels:
component: mainflux-grafana
spec:
containers:
- name: mainflux-grafana
image: grafana/grafana:5.1.3
imagePullPolicy: Always
---
apiVersion: v1
kind: Service
metadata:
name: mainflux-grafana
labels:
component: mainflux-grafana
spec:
selector:
component: mainflux-grafana
ports:
- port: 3001
targetPort: 3000
type: LoadBalancer