Add seperate autoscaler for ksm

Signed-off-by: Benjamin <benjamin@yunify.com>
This commit is contained in:
Benjamin
2019-10-09 11:21:36 +08:00
parent f458e85e5d
commit a16d5b69ab
2 changed files with 120 additions and 0 deletions

View File

@@ -6,6 +6,8 @@ local kp =
};
local manifests =
// Uncomment line below to enable vertical auto scaling of kube-state-metrics
//{ ['ksm-autoscaler-' + name]: kp.ksmAutoscaler[name] for name in std.objectFields(kp.ksmAutoscaler) } +
{ ['00namespace-' + name]: kp.kubePrometheus[name] for name in std.objectFields(kp.kubePrometheus) } +
{ ['0prometheus-operator-' + name]: kp.prometheusOperator[name] for name in std.objectFields(kp.prometheusOperator) } +
{ ['node-exporter-' + name]: kp.nodeExporter[name] for name in std.objectFields(kp.nodeExporter) } +