简体   繁体   English

如何设置 Kubeflow 使用抢占式虚拟机?

[英]How to set Kubeflow to use preemptible VMs?

I'm trying to set up a new Kubeflow deployment to use preemptible VMs.我正在尝试设置新的 Kubeflow 部署以使用抢占式虚拟机。 Referring to this doc , I see that there is some YAML to specify preemptible nodes but I am not sure where to put it in the myriad of YAML files generated by kfctl.sh .参考这个文档,我看到有一些 YAML 来指定可抢占的节点,但我不确定将它放在kfctl.sh生成的无数 YAML 文件中的kfctl.sh Meanwhile, going through the console, I see Preemptible nodes = disabled, but there is no way to change it.同时,通过控制台,我看到 Preemptible nodes = disabled,但无法更改它。

How do I set the Kubeflow node pools to be preemptible?如何将 Kubeflow 节点池设置为可抢占?

There's no way to change a node-pool from non-preemptible to preemptible.无法将节点池从不可抢占更改为可抢占。

What you can do is create a new preemptible node-pool and migrate the workloads from the non-preemptible node-pool to the new one.你可以做的是创建一个新的抢占节点池迁移从非抢占节点池的工作负载迁移到新的一个。

By the other hand, you can go ahead and recreate the GKE cluster with a preemprible node-pool.另一方面,您可以继续并使用预先创建的节点池重新创建 GKE 集群。

Hope this helps!希望这可以帮助!

The kfp.gcp extension module has gcp.use_preemptible_nodepool() . kfp.gcp扩展模块有gcp.use_preemptible_nodepool() Check the preemptible sample .检查抢占式示例

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM