【问题标题】:Google App Engine Managed VM with automatic scaling always starts with max number of instances and then scales down具有自动扩展功能的 Google App Engine 托管虚拟机始终从最大实例数开始,然后缩减
【发布时间】:2016-01-27 02:05:46
【问题描述】:

当我部署自定义托管 VM 模块时,它总是从最大实例数开始,然后再缩减。

为什么会发生这种情况,有没有办法解决这个问题?

我怀疑这是因为启动期间 cpu 利用率高于目标。但是缩放器不应该知道在启动期间不评估利用率吗?

我的缩放设置如下:

automatic_scaling:
  min_num_instances: 2
  max_num_instances: 20
  cool_down_period_sec: 60
  cpu_utilization:
    target_utilization: 0.5

【问题讨论】:

    标签: google-app-engine managed-vm google-managed-vm


    【解决方案1】:

    coolDownPeriodSec 设置在 VM 开始使用来自该 VM 的数据后自动缩放器等待的时间。自动缩放器 60 秒默认值可能太低了。尝试将其设置为 120 以提供更多时间。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-12-27
      • 2015-10-27
      • 1970-01-01
      • 2015-10-23
      • 2016-10-26
      • 2021-12-29
      • 2015-04-28
      • 1970-01-01
      相关资源
      最近更新 更多