Is there any tool for auto-scaling GKE nodes on shared packages requested in quernets?

When I resize the replication controller using kubectl, if the cluster does not have enough resources, it will contain one or more containers.

Is there any tool that will automatically resize the GKE cluster when the resource is exhausted?

+4
source share
2 answers

I had a similar requirement (for the Go build system): I wanted to know when the planned or available processor or memory was> 1, and scale the nodes when it was true (or, more precisely, when it was ~. 8). There is no built-in metric, but as you suggest, you can do this with a custom metric.

All this was done in Go, but this will give you the basic idea:

The main conclusion of IMO is that you should iterate over each block in the cluster to determine how much power is consumed, and then iterate over each node in the cluster to determine how many possibilities are available. Then you just need to point your autoscanner to the user metric.

: , , ( , ). , , , , , CPU. , , , , , .

+4

autoscaling Instance Group, GKE.

+1

Source: https://habr.com/ru/post/1630025/


All Articles