Mahyar
Mahyar

Reputation: 1121

Utilizing kubernetes nodes with descheduler

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)

Any comment/feedback on this approach (or any other suggestion) is appreciated.

Upvotes: 1

Views: 757

Answers (0)

Related Questions