From a58e611da63dabcfc46ed7dfda30c80cdd0e8e8f Mon Sep 17 00:00:00 2001 From: 00pf00 Date: Fri, 23 Jul 2021 18:32:44 +0800 Subject: [PATCH] Schedule prometheus-adapter to master Signed-off-by: 00pf00 --- charts/prometheus-adapter/values.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/charts/prometheus-adapter/values.yaml b/charts/prometheus-adapter/values.yaml index c43fd107d9fc..b1e7e8f8d0a2 100644 --- a/charts/prometheus-adapter/values.yaml +++ b/charts/prometheus-adapter/values.yaml @@ -12,7 +12,8 @@ metricsRelistInterval: 1m listenPort: 6443 -nodeSelector: {} +nodeSelector: + node-role.kubernetes.io/master: "" priorityClassName: "" @@ -154,7 +155,10 @@ extraVolumeMounts: [] # mountPath: /etc/ssl/certs/ca-certificates.crt # readOnly: true -tolerations: [] +tolerations: + - effect: NoSchedule + key: node-role.kubernetes.io/master + operator: Exists # Labels added to the pod podLabels: {}