简体   繁体   English

Google容器引擎-如何根据HTTP负载自动缩放实例组?

[英]Google Container Engine - How to auto-scale an instance group based on HTTP load?

In Google Container Engine, when using an L7 ingress, what's the correct way to auto-scale an instance group based on HTTP load? 在Google Container Engine中,使用L7入口时,根据HTTP负载自动缩放实例组的正确方法是什么?

When I try to enable auto-scaling for my instance group, I get the warning that I must add the instance group the L7 ingress' backend service. 当我尝试为实例组启用自动缩放时,收到警告,我必须将实例组添加到L7入口的后端服务。 However, the backend service is already using a k8-ig group, which I cannot enable auto-scaling for. 但是,后端服务已经在使用k8-ig组,我无法为其启用自动缩放功能。

Autoscaling based on HTTP load is not currently supported through the Ingress. Ingress目前不支持基于HTTP负载的自动缩放。 You can of course grow the size of you GKE cluster. 您当然可以扩大GKE群集的大小。 Pod autoscaling has been discussed before in the context of https://github.com/kubernetes/kubernetes/issues/18352 and https://github.com/kubernetes/kubernetes/issues/484 . 之前已经在https://github.com/kubernetes/kubernetes/issues/18352https://github.com/kubernetes/kubernetes/issues/484的上下文中讨论了Pod自动缩放 Please open an issue on the github repo if you'd like instance autoscaling. 如果您想实例自动缩放,请在github仓库上打开一个问题。

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

相关问题 如果我们将 App Engine 配置为自动缩放,它会自动进行负载平衡吗? - Does App Engine automatically load balance if we configure it to auto-scale? Google容器引擎-如何在同一项目中创建两个单独的L7负载均衡器? - Google Container Engine - How should I create two separate L7 load balancers in the same project? 什么时候应该添加(自动缩放)新的Nginx服务器实例? - When should I add (auto-scale) new Nginx server instances? Google负载均衡器和Compute Engine(自动启动/停止VM实例) - Google Load Balancer and Compute Engine (auto start/stop VM Instances) Kubernetes在Google容器引擎中加载均衡器SSL终止? - Kubernetes load balancer SSL termination in google container engine? Kubernetes Google容器引擎HTTPS负载均衡器错误 - Kubernetes Google Container Engine HTTPS Load Balancer Error Google容器引擎 - 如何更新L7入口以加载新的TLS证书? - Google Container Engine - How to update L7 ingress to load new TLS certificate? Compute Engine HTTP负载平衡器,未检查实例 - Compute Engine HTTP Load Balancer, Instance Not Being Checked 如何在Amazon EC2中自动扩展我的实例? - How to auto scale my instance in Amazon EC2? Google Container Engine上的跨区域负载均衡+路由 - Cross-region load balancing + routing on Google Container Engine
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM