Update Prometheus retention param (#2584)

`storage.tsdb.retention` is deprecated in favor of
`storage.tsdb.retention.time`.

Replace all occurrences.

Signed-off-by: Andrew Seigner <siggy@buoyant.io>
This commit is contained in:
Andrew Seigner 2019-03-29 10:45:02 -07:00 committed by GitHub
parent e711ab7b15
commit e38ad7e9d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 7 deletions

View File

@ -90,7 +90,7 @@ spec:
imagePullPolicy: {{.ImagePullPolicy}} imagePullPolicy: {{.ImagePullPolicy}}
args: args:
- "--storage.tsdb.path=/data" - "--storage.tsdb.path=/data"
- "--storage.tsdb.retention=6h" - "--storage.tsdb.retention.time=6h"
- "--config.file=/etc/prometheus/prometheus.yml" - "--config.file=/etc/prometheus/prometheus.yml"
- "--log.level={{.PrometheusLogLevel}}" - "--log.level={{.PrometheusLogLevel}}"
readinessProbe: readinessProbe:

View File

@ -942,7 +942,7 @@ spec:
containers: containers:
- args: - args:
- --storage.tsdb.path=/data - --storage.tsdb.path=/data
- --storage.tsdb.retention=6h - --storage.tsdb.retention.time=6h
- --config.file=/etc/prometheus/prometheus.yml - --config.file=/etc/prometheus/prometheus.yml
- --log.level=info - --log.level=info
image: prom/prometheus:v2.7.1 image: prom/prometheus:v2.7.1

View File

@ -966,7 +966,7 @@ spec:
containers: containers:
- args: - args:
- --storage.tsdb.path=/data - --storage.tsdb.path=/data
- --storage.tsdb.retention=6h - --storage.tsdb.retention.time=6h
- --config.file=/etc/prometheus/prometheus.yml - --config.file=/etc/prometheus/prometheus.yml
- --log.level=info - --log.level=info
image: prom/prometheus:v2.7.1 image: prom/prometheus:v2.7.1

View File

@ -966,7 +966,7 @@ spec:
containers: containers:
- args: - args:
- --storage.tsdb.path=/data - --storage.tsdb.path=/data
- --storage.tsdb.retention=6h - --storage.tsdb.retention.time=6h
- --config.file=/etc/prometheus/prometheus.yml - --config.file=/etc/prometheus/prometheus.yml
- --log.level=info - --log.level=info
image: prom/prometheus:v2.7.1 image: prom/prometheus:v2.7.1

View File

@ -870,7 +870,7 @@ spec:
containers: containers:
- args: - args:
- --storage.tsdb.path=/data - --storage.tsdb.path=/data
- --storage.tsdb.retention=6h - --storage.tsdb.retention.time=6h
- --config.file=/etc/prometheus/prometheus.yml - --config.file=/etc/prometheus/prometheus.yml
- --log.level=info - --log.level=info
image: prom/prometheus:v2.7.1 image: prom/prometheus:v2.7.1

View File

@ -872,7 +872,7 @@ spec:
containers: containers:
- args: - args:
- --storage.tsdb.path=/data - --storage.tsdb.path=/data
- --storage.tsdb.retention=6h - --storage.tsdb.retention.time=6h
- --config.file=/etc/prometheus/prometheus.yml - --config.file=/etc/prometheus/prometheus.yml
- --log.level=info - --log.level=info
image: prom/prometheus:v2.7.1 image: prom/prometheus:v2.7.1

View File

@ -839,7 +839,7 @@ spec:
containers: containers:
- args: - args:
- --storage.tsdb.path=/data - --storage.tsdb.path=/data
- --storage.tsdb.retention=6h - --storage.tsdb.retention.time=6h
- --config.file=/etc/prometheus/prometheus.yml - --config.file=/etc/prometheus/prometheus.yml
- --log.level=PrometheusLogLevel - --log.level=PrometheusLogLevel
image: PrometheusImage image: PrometheusImage