mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add ability to control prometheus TSDB locking (#11270)
* Add enableTSDBLock var Signed-off-by: Artem Pastukhov <artem.pastukhov@gmail.com> * Add --storage.tsdb.no-lockfile flag calculation Signed-off-by: Artem Pastukhov <artem.pastukhov@gmail.com> * Revert logic for locking flag Signed-off-by: Artem Pastukhov <artem.pastukhov@gmail.com> * Remove extra space Signed-off-by: Artem Pastukhov <artem.pastukhov@gmail.com> * Add --storage.tsdb.no-lockfile Signed-off-by: Artem Pastukhov <artem.pastukhov@gmail.com> * Bump chart version Signed-off-by: Artem Pastukhov <artem.pastukhov@gmail.com> * Update README.md Signed-off-by: Artem Pastukhov <artem.pastukhov@gmail.com> * Remove exrtra whitespace Signed-off-by: Artem Pastukhov <artem.pastukhov@gmail.com> * Bump chart version Signed-off-by: Artem Pastukhov <artem.pastukhov@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
c1ac591fb8
commit
76601eac64
@@ -1,5 +1,5 @@
|
||||
name: prometheus
|
||||
version: 8.7.1
|
||||
version: 8.8.0
|
||||
appVersion: 2.7.1
|
||||
description: Prometheus is a monitoring system and time series database.
|
||||
home: https://prometheus.io/
|
||||
|
||||
@@ -238,6 +238,7 @@ Parameter | Description | Default
|
||||
`server.image.tag` | Prometheus server container image tag | `v2.7.1`
|
||||
`server.image.pullPolicy` | Prometheus server container image pull policy | `IfNotPresent`
|
||||
`server.enableAdminApi` | If true, Prometheus administrative HTTP API will be enabled. Please note, that you should take care of administrative API access protection (ingress or some frontend Nginx with auth) before enabling it. | `false`
|
||||
`server.skipTSDBLock` | If true, Prometheus skip TSDB locking. | `false`
|
||||
`server.configPath` | Path to a prometheus server config file on the container FS | `/etc/config/prometheus.yml`
|
||||
`server.global.scrape_interval` | How frequently to scrape targets by default | `1m`
|
||||
`server.global.scrape_timeout` | How long until a scrape request times out | `10s`
|
||||
|
||||
@@ -103,6 +103,9 @@ spec:
|
||||
{{- if .Values.server.enableAdminApi }}
|
||||
- --web.enable-admin-api
|
||||
{{- end }}
|
||||
{{- if .Values.server.skipTSDBLock }}
|
||||
- --storage.tsdb.no-lockfile
|
||||
{{- end }}
|
||||
ports:
|
||||
- containerPort: 9090
|
||||
readinessProbe:
|
||||
|
||||
@@ -96,6 +96,9 @@ spec:
|
||||
{{- if .Values.server.enableAdminApi }}
|
||||
- --web.enable-admin-api
|
||||
{{- end }}
|
||||
{{- if .Values.server.skipTSDBLock }}
|
||||
- --storage.tsdb.no-lockfile
|
||||
{{- end }}
|
||||
ports:
|
||||
- containerPort: 9090
|
||||
readinessProbe:
|
||||
|
||||
@@ -555,6 +555,9 @@ server:
|
||||
## series. This is disabled by default.
|
||||
enableAdminApi: false
|
||||
|
||||
## This flag controls BD locking
|
||||
skipTSDBLock: false
|
||||
|
||||
## Path to a configuration file on prometheus server container FS
|
||||
configPath: /etc/config/prometheus.yml
|
||||
|
||||
|
||||
Reference in New Issue
Block a user