diff --git a/pkg/render/monitor.go b/pkg/render/monitor.go index 00b69403dc..3419a53ca5 100644 --- a/pkg/render/monitor.go +++ b/pkg/render/monitor.go @@ -138,6 +138,8 @@ func (mc *monitorComponent) alertmanager() *monitoringv1.Alertmanager { ImagePullSecrets: secret.GetReferenceList(mc.pullSecrets), Replicas: ptr.Int32ToPtr(3), Version: components.ComponentPrometheusAlertmanager.Version, + Tolerations: mc.installation.ControlPlaneTolerations, + NodeSelector: mc.installation.ControlPlaneNodeSelector, }, } } @@ -162,6 +164,8 @@ func (mc *monitorComponent) prometheus() *monitoringv1.Prometheus { "prometheus": CalicoNodePrometheus, "role": "tigera-prometheus-rules", }}, + Tolerations: mc.installation.ControlPlaneTolerations, + NodeSelector: mc.installation.ControlPlaneNodeSelector, Alerting: &monitoringv1.AlertingSpec{ Alertmanagers: []monitoringv1.AlertmanagerEndpoints{ {