Environment中使用分数vCPU吗

Environment中使用分数vCPU吗

本文介绍了您可以在GAE Flexible Environment中使用分数vCPU吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将应用程序从GCE过渡到GAE Flexible.它当前在一个满足我需要的g1小实例中运行,但是当我尝试在我的app.yaml中指定一个g1小实例时:

I'm transitioning an application from GCE to GAE Flexible. It's currently running in a g1-small instance which is plenty for my needs, however when I try to specify a g1-small instance in my app.yaml:

resources:
  cpu: 0.5
  memory_gb: 1.7

我可以部署,但是没有迹象表明实际上正在使用较小的实例.

I can deploy but there's no indication that a smaller instance is actually being used.

部署后,没有迹象表明我的应用正在以较小的实例大小运行.

After deploying, there's no indication that my app is running with the smaller instance size.

如何在灵活的环境中使用分数vCPU?谢谢!

How can I use fractional vCPUs with the flexible environment? Thanks!

推荐答案

目前,尚无办法在App Engine Flexible上使用共享(分数)CPU.您指定的CPU数量必须为之间的偶数2和96 . (如果不是默认值1)

There is no way to use shared (fractional) CPUs on App Engine Flexible at the moment; The number of CPUs you specify must be an even number between 2 and 96. (If it's not the default value of 1)

对于公共问题跟踪"上的共享CPU实例,有一个打开的功能请求或添加以显示您对该功能的兴趣.

There is an open feature request for shared CPU instances on the Public Issue Tracker which you can star or add to in order to show your interest in that feature.

请注意,还没有现有功能可让您直接指定要在App Engine Flexible中使用的App Engine标准实例类或Compute Engine计算机类型.

Note that there is also no existing feature that lets you directly specify App Engine Standard instance classes or Compute Engine machine types to use in App Engine Flexible.

这篇关于您可以在GAE Flexible Environment中使用分数vCPU吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 17:28