Google容器引擎-如何根据HTTP负载自动缩放实例组? [英] Google Container Engine - How to auto-scale an instance group based on HTTP load?

查看:97
本文介绍了Google容器引擎-如何根据HTTP负载自动缩放实例组?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Google Container Engine中,使用L7入口时,根据HTTP负载自动缩放实例组的正确方法是什么?

In Google Container Engine, when using an L7 ingress, what’s the correct way to auto-scale an instance group based on HTTP load?

当我尝试为实例组启用自动缩放时,收到警告,我必须将实例组添加到L7入口的后端服务.但是,后端服务已经在使用k8-ig组,我无法为其启用自动缩放功能.

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. However, the backend service is already using a k8-ig group, which I cannot enable auto-scaling for.

推荐答案

Ingress目前不支持基于HTTP负载的自动缩放.当然,您可以扩大GKE群集的大小. Pod自动缩放之前已经在 https://github的上下文中进行了讨论. com/kubernetes/kubernetes/issues/18352 https://github.com/kubernetes /kubernetes/issues/484 .如果您想实例自动缩放,请在github仓库上打开一个问题.

Autoscaling based on HTTP load is not currently supported through the Ingress. You can of course grow the size of you GKE cluster. 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. Please open an issue on the github repo if you'd like instance autoscaling.

这篇关于Google容器引擎-如何根据HTTP负载自动缩放实例组?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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