Merge pull request #2300 from underarmour/feature/enable-admin-api

Add flag to enable prometheus web admin API and fixes #1215
This commit is contained in:
Frederic Branczyk
2019-01-21 09:56:48 +01:00
committed by GitHub
2 changed files with 3 additions and 0 deletions

View File

@@ -143,6 +143,8 @@ In order to update the kube-prometheus dependency, simply use the jsonnet-bundle
e.g. of how to compile the manifests: `./build.sh example.jsonnet`
> before compiling, install `gojsontoyaml` tool with `go get github.com/brancz/gojsontoyaml`
Here's [example.jsonnet](example.jsonnet):
[embedmd]:# (example.jsonnet)

View File

@@ -168,6 +168,7 @@ local k = import 'ksonnet/ksonnet.beta.3/k.libsonnet';
replicas: $._config.prometheus.replicas,
version: $._config.versions.prometheus,
baseImage: $._config.imageRepos.prometheus,
enableAdminAPI: $._config.prometheus.enableAdminAPI,
serviceAccountName: 'prometheus-' + $._config.prometheus.name,
serviceMonitorSelector: {},
serviceMonitorNamespaceSelector: {},