如何设置Dataproc Serverless的运行时版本

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

How to set the runtime version for Dataproc Serverless

问题

以下是要翻译的内容:

"The various runtimes are listed here:
https://cloud.google.com/dataproc-serverless/docs/concepts/versions/dataproc-serverless-versions

When submitting a batch job how do you set which runtime it executes under?

I tried looking in the documentation and searching the web, but no luck."

英文:

The various runtimes are listed here:
https://cloud.google.com/dataproc-serverless/docs/concepts/versions/dataproc-serverless-versions

When submitting a batch job how do you set which runtime it executes under?

I tried looking in the documentation and searching the web, but no luck.

答案1

得分: 2

我认为您正在寻找的是 gcloud CLI 中的 --version 标志:

--version=VERSION
可选的运行时版本。如果未指定,将使用默认版本。

如果您正在使用 API/客户端库,那么您可以通过 RuntimeConfig 中的 version 字段进行设置。

英文:

I think what you're looking for is the --version flag in gcloud CLI:

--version=VERSION
Optional runtime version. If not specified, a default version will be used.

If you are using API/Client Library then you can set it via version field in RuntimeConfig.

huangapple
  • 本文由 发表于 2023年2月18日 07:27:10
  • 转载请务必保留本文链接:https://go.coder-hub.com/75490104.html
匿名

发表评论

匿名网友

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

确定