如何在Kubernetes中设置每个实例的最大并发请求数为1?

huangapple go评论50阅读模式
英文:

How set maximum concurrent requests per instance in Kubernetes to 1?

问题

我想为每个用户分配每个虚拟机。
Cloud Run 中,只需将最大并发请求设置为 1,就可以正常工作,但 Cloud Run 不支持 GPU,对我来说不是一个选项。
在 Kubernetes 上如何实现?我正在在虚拟机上运行虚幻引擎,不应该共享。

英文:

I want to dedicate each vm to each user.
In cloud run it is simply working by set maximum concurrent requests to 1, however cloud run does not support gpu and it is not an option for me.
How is it possible on Kubernetes? I am running Unreal Engine on VMs and this should not be shared.

答案1

得分: 3

没有开箱即用的Kubernetes。但安装KNative,您将能够实现它(并且您将能够重用与Cloud Run相同的YAML服务定义,因为Cloud Run实现了KNative API)。

英文:

No Kubernetes out of the box. But install KNative and you will be able to achieve it (and you will be able to reuse the same YAML service definition as Cloud Run, because Cloud Run implements the KNative APIs)

huangapple
  • 本文由 发表于 2023年6月16日 08:22:17
  • 转载请务必保留本文链接:https://go.coder-hub.com/76486252.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定