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

查看:21
本文介绍了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 Autoscaler?(如果是,如何?)

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. 向上和向下缩放 Pod.

由于 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天全站免登陆