【问题标题】:Is there a way to update the image used by node in slurm-gcp?有没有办法更新 slurm-gcp 中节点使用的图像?
【发布时间】:2021-09-03 15:46:10
【问题描述】:

我使用 cloud shell 中的 terraform 从那个 github 安装了 slurm-gcp。

https://github.com/SchedMD/slurm-gcp#install-using-terraform

创建了两个虚拟机。

  • 控制器
  • 登录

我在 /apps 中安装了几个应用程序以确认它们存在。

我想编辑节点的 /etc/hosts 并添加网络标签(http-server、https-server)来运行应用程序。

但它没有说明如何修改节点使用的图像。

有没有办法编辑slurm的图像?

谢谢。

【问题讨论】:

    标签: google-cloud-platform google-compute-engine slurm


    【解决方案1】:

    在 GCP 上最新版本的 Slurm 中,镜像由 SchedMD 预先构建和托管,直接使用,无需在部署时构建镜像。您可以通过creating your own image继续修改镜像。这是通过使用 tfvar 中指向的公共映像启动 VM、进行修改、保存映像并将 tfvar 指向新映像来完成的。

    您可以继续使用脚本目录中的custom compute/controller install scripts

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-10-07
      • 2016-01-08
      • 2021-05-15
      • 1970-01-01
      • 2018-02-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多