在Google Container Engine中自动缩放 [英] Autoscaling in Google Container Engine

查看:73
本文介绍了在Google Container Engine中自动缩放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我了解容器引擎当前处于Alpha级别,但尚未完成.

I understand the Container Engine is currently on alpha and not yet complete.

从文档中我认为没有Pod的自动缩放(例如,取决于CPU负载),对吗?我希望能够将复制控制器配置为在平均CPU负载达到定义的阈值时自动添加Pod(和VM实例).

From the docs I assume there is no auto-scaling of pods (e.g. depending on CPU load) yet, correct? I'd love to be able to configure a replication controller to automatically add pods (and VM instances) when the average CPU load reaches a defined threshold.

这是在不久的将来的路线图上的某个地方吗?

Is this somewhere on the near future roadmap?

或者可以为此使用Compute Engine自动缩放器吗? (如果是,怎么办?)

Or is it possible to use the Compute Engine Autoscaler for this? (if so, how?)

推荐答案

在努力开发Beta版本时,我们肯定会考虑集成Google Compute Engine AutoScaler.

As we work towards a Beta release, we're definitely looking at integrating the Google Compute Engine AutoScaler.

实际上有两种不同的缩放比例:

There are actually two different kinds of scaling:

  1. 根据集群中容器的数量,按比例增加/缩小集群中工作节点的数量
  2. 上下缩放吊舱.

由于Kubernetes也是OSS项目,因此我们还想添加一个Kubernetes本机自动缩放器,该缩放器可以缩放复制控制器.绝对是路线图上的东西.我希望我们实际上将有多个自动缩放器实现,因为它可能是非常特定于应用程序的...

Since Kubernetes is an OSS project as well, we'd also like to add a Kubernetes native autoscaler that can scale replication controllers. It's definitely something that's on the roadmap. I expect we will actually have multiple autoscaler implementations, since it can be very application specific...

这篇关于在Google Container Engine中自动缩放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆