Fix paths to docker volume mounts (#2468)

Also bump InfluxDB version in k8s example.

Closes #2463, #2385, #2324.

Co-authored-by: pierwill <pierwill@users.noreply.github.com>
pull/2473/head
pierwill 2021-04-30 15:17:27 -05:00 committed by GitHub
parent 48449a92ca
commit 0ebf1b28e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -419,7 +419,7 @@ _To run InfluxDB in [detached mode](https://docs.docker.com/engine/reference/run
docker run \ docker run \
--name influxdb \ --name influxdb \
-p 8086:8086 \ -p 8086:8086 \
--volume $PWD:/root/.influxdbv2 \ --volume $PWD:/var/lib/influxdb2 \
influxdb:2.0.6 influxdb:2.0.6
``` ```

View File

@ -23,13 +23,13 @@ spec:
app: influxdb app: influxdb
spec: spec:
containers: containers:
- image: influxdb:2.0.4 - image: influxdb:2.0.6
name: influxdb name: influxdb
ports: ports:
- containerPort: 8086 - containerPort: 8086
name: influxdb name: influxdb
volumeMounts: volumeMounts:
- mountPath: /root/.influxdbv2 - mountPath: /var/lib/influxdb2
name: data name: data
volumeClaimTemplates: volumeClaimTemplates:
- metadata: - metadata: