rpi.carlosedp.cluster-monit.../k3s-overrides.jsonnet

14 lines
515 B
Plaintext
Raw Normal View History

local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
2019-09-27 00:02:33 +02:00
local utils = import 'utils.libsonnet';
local vars = import 'vars.jsonnet';
{
2019-09-27 00:02:33 +02:00
prometheus+:: {
kubeControllerManagerPrometheusDiscoveryEndpoints:
2019-11-14 16:25:16 +01:00
utils.newEndpoint('kube-controller-manager-prometheus-discovery', 'kube-system', vars.k3s.master_ip, 'http-metrics', 10252),
kubeSchedulerPrometheusDiscoveryEndpoints:
2019-11-14 16:25:16 +01:00
utils.newEndpoint('kube-scheduler-prometheus-discovery', 'kube-system', vars.k3s.master_ip, 'http-metrics', 10251),
},
}