Update prometheus-adapter endpoint

This commit is contained in:
Stavros Foteinopoulos
2020-06-19 15:07:53 +03:00
parent 17989b42aa
commit 3cbc97d782
3 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
prometheusAdapter+:: {
name: 'prometheus-adapter',
labels: { name: $._config.prometheusAdapter.name },
prometheusURL: 'http://prometheus-' + $._config.prometheus.name + '.' + $._config.namespace + '.svc:9090/',
prometheusURL: 'http://prometheus-' + $._config.prometheus.name + '.' + $._config.namespace + '.svc.cluster.local:9090/',
config: {
resourceRules: {
cpu: {