added persistency to influxdb
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ef69940f2f
commit
35c3643b1a
@ -1,3 +1,16 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: influxdb-pvc
|
||||
namespace: turbomemer
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 15Gi
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
@ -17,8 +30,15 @@ spec:
|
||||
labels:
|
||||
app: birb-latency-influxdb
|
||||
spec:
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: influxdb-pvc
|
||||
containers:
|
||||
- image: "influxdb:2.1"
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: "/var/lib/influxdb2"
|
||||
imagePullPolicy: Always
|
||||
name: birb-latency-influxdb
|
||||
envFrom:
|
||||
|
Loading…
Reference in New Issue
Block a user