You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

GCP自动扩缩容(Autoscaling)冷却时间最大秒数限值是多少?

GCP自动扩缩容(Autoscaling)冷却时间上限及操作指引

冷却时间最大秒数

GCP自动扩缩容的冷却时间(Cooldown Period)最大可设置为86400秒(24小时),超出该数值的配置会被系统判定为无效。

新手操作指引

控制台配置步骤

  • 登录GCP控制台,进入目标托管实例组(Managed Instance Group)的详情页面
  • 在左侧导航栏选择「自动扩缩容」选项
  • 找到「冷却时间」设置栏,输入0-86400范围内的秒数
  • 点击页面底部的「保存」完成配置

gcloud命令行配置

使用gcloud compute instance-groups managed set-autoscaling命令,通过--cooldown-period参数指定冷却时间,示例命令如下:

gcloud compute instance-groups managed set-autoscaling my-instance-group \
    --zone=us-central1-a \
    --cooldown-period=86400 \
    --min-num-replicas=1 \
    --max-num-replicas=10

请将my-instance-group和us-central1-a替换为你的实例组名称及所在区域。

内容的提问来源于stack exchange,提问作者VicIT

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.12 07:14:50