简体   繁体   English

基于 CPU 利用率的节点自动缩放器

[英]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.我们如何解决节点自动缩放器与资源指标的问题。

You can automatically scale your GKE workloads based on metrics available in Cloud Monitoring.您可以根据 Cloud Monitoring 中可用的指标自动扩展 GKE 工作负载。 In this tutorial , you will see how to set up autoscaling based on CPU utilization.在本教程中,您将了解如何根据 CPU 利用率设置自动缩放。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 大多数时间 Redshift CPU 利用率为 100% - Redshift CPU utilisation is 100 percent most of the time Firebase 是否抓取 App 的 Memory 和 CPU 使用率? - Does Firebase capture Memory and CPU utilisation of the App? Redshift 查询性能以降低 CPU 利用率 - Redshift Query Performance to reduce CPU utilisation EKS 上的 Knative 是否支持节点自动缩放器? - Does Knative on EKS support node autoscaler? 为什么 EC2 服务器上的多个 Ruby 进程会导致 100% 的 CPU 使用率? - Why are multiple Ruby processes on an EC2 server causing 100% CPU utilisation? 在 AWS EKS 中,HPA (horizontal-pod-autoscaler) 无法获取 cpu 利用率 - In AWS EKS, HPA (horizontal-pod-autoscaler) failed to get cpu utilization Kube.netes autoscaler - NotTriggerScaleUp' pod 没有触发扩展(如果添加新节点则不适合) - Kubernetes autoscaler - NotTriggerScaleUp' pod didn't trigger scale-up (it wouldn't fit if a new node is added) Kube.netes Cluster autoscaler 没有缩减 EKS 上的实例 - 只是记录不需要该节点 - Kubernetes Cluster autoscaler not scaling down instances on EKS - just logs that the node is unneeded 设置“所需大小:0”是否会阻止 cluster-autoscaler 扩展托管节点组? - Does setting "desired size: 0" prevent cluster-autoscaler from scaling up a managed node group? EKS pod 根据节点 CPU 利用率调度 - EKS pod schedule according to the node CPU utilization
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM