Add prometheus admin flag feature to helm, kube-prometheus and jsonnet files

This commit is contained in:
Purandare, Aditya
2019-01-16 01:36:32 +05:30
parent 682809c0fb
commit e3b989ccd3
6 changed files with 16 additions and 0 deletions

View File

@@ -1538,6 +1538,9 @@ spec:
required:
- name
type: array
enableAdminApi:
description: Enable access to prometheus web admin API. More info: https://prometheus.io/docs/prometheus/latest/querying/api/#tsdb-admin-apis
type: boolean
evaluationInterval:
description: Interval between consecutive evaluations.
type: string

View File

@@ -12,6 +12,7 @@ spec:
namespace: monitoring
port: web
baseImage: quay.io/prometheus/prometheus
enableAdminApi: true
nodeSelector:
beta.kubernetes.io/os: linux
replicas: 2