Reputation: 1121
So here's a sample scenario I'm trying to utilize in terms of K8s node resources.
Let's say we have 3 (worker) nodes - same type - with these resource requests allocated:
I'd like to ideally rebalance the nodes (pods on the node) so it I can delete N3 (or any one of them):
(all numbers are hypothetical and simplified, I just wanna get to the least waste
/least number of nodes required for this)
I'm looking at the descheduler which could potentially help to utilize the nodes/cluster.
I'm thinking to set the threshold
= targetThresholds
= 90% (or something similar) in LowNodeUtilization policy, and then use either HighNodeUtilization or Cluster Autoscaler to downsize the cluster (i.e. remove the node)
strategies
for descheduler
(if so, what's the precedence)HighNodeUtilization
or Cluster Autoscaler
for downsizing?Any comment/feedback on this approach (or any other suggestion) is appreciated.
Upvotes: 1
Views: 757