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
parent
48449a92ca
commit
0ebf1b28e9
|
@ -419,7 +419,7 @@ _To run InfluxDB in [detached mode](https://docs.docker.com/engine/reference/run
|
|||
docker run \
|
||||
--name influxdb \
|
||||
-p 8086:8086 \
|
||||
--volume $PWD:/root/.influxdbv2 \
|
||||
--volume $PWD:/var/lib/influxdb2 \
|
||||
influxdb:2.0.6
|
||||
```
|
||||
|
||||
|
|
|
@ -23,13 +23,13 @@ spec:
|
|||
app: influxdb
|
||||
spec:
|
||||
containers:
|
||||
- image: influxdb:2.0.4
|
||||
- image: influxdb:2.0.6
|
||||
name: influxdb
|
||||
ports:
|
||||
- containerPort: 8086
|
||||
name: influxdb
|
||||
volumeMounts:
|
||||
- mountPath: /root/.influxdbv2
|
||||
- mountPath: /var/lib/influxdb2
|
||||
name: data
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
|
|
Loading…
Reference in New Issue