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
|
# Set to false to only monitor namespaces with the label: goldilocks.fairwinds.com/enabled=true
|
||||||
enableCostRecommendations: 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 configuration (should already be installed)
|
||||||
vpa:
|
vpa:
|
||||||
# Set to false since we're installing VPA separately
|
# Set to false since we're installing VPA separately
|
||||||
|
|||||||
@@ -14,15 +14,6 @@ resources:
|
|||||||
limits:
|
limits:
|
||||||
memory: 105Mi
|
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:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
clusterIP: None
|
clusterIP: None
|
||||||
|
|||||||
@@ -32,14 +32,6 @@ resources:
|
|||||||
limits:
|
limits:
|
||||||
memory: 512Mi
|
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
|
# Extra Volumes for Log Collection
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|||||||
@@ -27,11 +27,6 @@ spec:
|
|||||||
limits:
|
limits:
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
|
|
||||||
tolerations:
|
|
||||||
- key: node-role.kubernetes.io/control-plane
|
|
||||||
operator: Exists
|
|
||||||
effect: NoSchedule
|
|
||||||
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: varlogpods
|
- name: varlogpods
|
||||||
mountPath: /var/log/pods
|
mountPath: /var/log/pods
|
||||||
|
|||||||
@@ -49,11 +49,3 @@ kubeRBACProxy:
|
|||||||
cpu: 5m
|
cpu: 5m
|
||||||
memory: 64Mi
|
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:
|
limits:
|
||||||
memory: 182Mi
|
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 disabled
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|||||||
@@ -13,15 +13,6 @@ recommender:
|
|||||||
limits:
|
limits:
|
||||||
memory: 100Mi
|
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
|
# Updater - applies recommended resource requests to pods
|
||||||
# Disabled because we're using updateMode: Off (recommendations only)
|
# Disabled because we're using updateMode: Off (recommendations only)
|
||||||
updater:
|
updater:
|
||||||
|
|||||||
Reference in New Issue
Block a user