Can you use fractional vCPUs with GAE Flexible Environment?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-07 09:22:30

问题


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.

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


回答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 32. (If it's not the default value of 1)

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.

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.



来源:https://stackoverflow.com/questions/44445222/can-you-use-fractional-vcpus-with-gae-flexible-environment

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!