collection of apps for deployment over Kubernetes clusters
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kubernetes-apps/influxdb/influxdb-deployment.yml

30 lines
588 B

apiVersion: apps/v1
kind: Deployment
metadata:
namespace: influx
labels:
app: influxdb
name: influxdb
spec:
replicas: 1
selector:
matchLabels:
app: influxdb
template:
metadata:
labels:
app: influxdb
spec:
containers:
- name: influxdb
image: docker.io/influxdb:2.3.0
volumeMounts:
- mountPath: /var/lib/influxdb2
name: var-lib-influxdb
ports:
- containerPort: 8086
volumes:
- name: var-lib-influxdb
persistentVolumeClaim:
claimName: influxdb-pvc