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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
# =============================================================================
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user