Kubernetes自动缩放容器 [英] Kubernetes Autoscaling Containers
问题描述
是否可以自动缩放Docker容器,该容器在kubernetes中包含应用程序服务器(例如wildfly/tomcat/jetty/)?例如在cpu& ram使用还是基于http请求?如果有一个内置功能,我找不到它,或者有可能为此编写类似配置脚本的内容吗?如果是这样,魔术在哪里发生?
is it possible to autoscale docker containers, which contain application servers (like wildfly/tomcat/jetty/) within kubernetes ? For example at cpu & ram use or based on http requests ? If there is a build in feature for that i can't find it, or is it possible to write something like a configuration script for this ? If so where does the magic happen ?
推荐答案
Autoscaling of containers is not yet supported and is not part of the near term 1.0 roadmap for Kubernetes (meaning that the core team isn't going to add it soon but external contributions are certainly welcome).
这篇关于Kubernetes自动缩放容器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!