[英]Node autoscaler based on CPU utilisation
We are working with HPA.我们正在与 HPA 合作。 Currently we are handling 100/rps per pod.目前我们正在处理每个 pod 100/rps。
Use case is when the input rps is at 500/rps for 2 mins after that it goes up to 3k/rps.用例是输入 rps 在 500/rps 持续 2 分钟,然后上升到 3k/rps。
We want to scale the number of pods from 5 upto 30 within 30 to 40 sec.我们希望在 30 到 40 秒内将 pod 的数量从 5 个增加到 30 个。
We are able to scale the pods in available resources for example default cluster size is 3 nodes.我们能够在可用资源中扩展 pod,例如默认集群大小为 3 个节点。 Problem comes when existing nodes are exhausted and cluster need additional node to schedule a pod.当现有节点耗尽并且集群需要额外的节点来调度 pod 时,问题就来了。
Scheduling a new node in cluster it takes around 3min 40 sec to 4 min(approx.)在集群中调度一个新节点大约需要 3 分钟 40 秒到 4 分钟(大约)
To overcome this problem we want to schedule new node when existing node cluster limit cross certain threshold (cpu utilisation upto 70%).为了克服这个问题,我们希望在现有节点集群限制超过特定阈值(cpu 利用率高达 70%)时调度新节点。
We are able to configure pod autoscaler using HorizontalPodAutoscaler kind.我们可以使用 HorizontalPodAutoscaler 种类配置 Pod 自动缩放器。 How can we solve the problem of node autoscaler wrt resource metrics.我们如何解决节点自动缩放器与资源指标的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.