REFACTOR(repo): remove control-plane scheduling

- Remove nodeSelector for control-plane node
- Remove tolerations for control-plane taint
- Allow pods to schedule on any available node
This commit is contained in:
2026-01-10 18:35:15 +09:00
parent c128ece672
commit 203a8debac
7 changed files with 0 additions and 54 deletions

View File

@@ -60,15 +60,6 @@ controller:
# Set to false to only monitor namespaces with the label: goldilocks.fairwinds.com/enabled=true
enableCostRecommendations: true
# Schedule on control-plane node
nodeSelector:
node-role.kubernetes.io/control-plane: "true"
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
# VPA configuration (should already be installed)
vpa:
# Set to false since we're installing VPA separately

View File

@@ -14,15 +14,6 @@ resources:
limits:
memory: 105Mi
# Schedule on control-plane node
nodeSelector:
node-role.kubernetes.io/control-plane: "true"
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
service:
type: ClusterIP
clusterIP: None

View File

@@ -32,14 +32,6 @@ resources:
limits:
memory: 512Mi
# =============================================================================
# Tolerations (run on all nodes including master)
# =============================================================================
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
# =============================================================================
# Extra Volumes for Log Collection
# =============================================================================

View File

@@ -27,11 +27,6 @@ spec:
limits:
memory: 512Mi
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
volumeMounts:
- name: varlogpods
mountPath: /var/log/pods

View File

@@ -49,11 +49,3 @@ kubeRBACProxy:
cpu: 5m
memory: 64Mi
# Schedule on master node
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
nodeSelector:
node-role.kubernetes.io/control-plane: "true"

View File

@@ -37,12 +37,6 @@ resources:
limits:
memory: 182Mi
# Tolerations to run on all nodes including control-plane
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
# ServiceMonitor disabled
serviceMonitor:
enabled: false

View File

@@ -13,15 +13,6 @@ recommender:
limits:
memory: 100Mi
# Schedule on control-plane node
nodeSelector:
node-role.kubernetes.io/control-plane: "true"
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
# Updater - applies recommended resource requests to pods
# Disabled because we're using updateMode: Off (recommendations only)
updater: