简体   繁体   English

如何删除Google Kubernetes集群中的GPU(GKE)

[英]How to remove GPU in Google Kubernetes cluster (GKE)

I cannot find a way to remove GPU (accelerator resource) from Google Kubernetes Engine (GKE) cluster. 我找不到从Google Kubernetes Engine(GKE)群集中删除GPU(加速器资源)的方法。 There is no official documentation on how to make change to it. 没有关于如何对其进行更改的官方文档。 Can you suggest a proper way to do so? 你能建议一个正确的方法吗? The UI is gray out and it cannot allow me to make change from the console. 用户界面显示为灰色,无法让我从控制台进行更改。

Here is the screenshot when I click to edit cluster. 这是我点击编辑群集时的屏幕截图。 GKE编辑节点的屏幕截图

Thank you 谢谢

You cannot edit settings of a Node Pool once it is created. 创建后,您无法编辑节点池的设置。

You should create a new node pool with the settings you want (GPU, machine type etc) and delete the old node pool. 您应该使用所需的设置(GPU,机器类型等)创建新节点池并删除旧节点池。

There's a tutorial on how to migrate to a new node pool smoothly here: https://cloud.google.com/kubernetes-engine/docs/tutorials/migrating-node-pool If you don't care about pods terminating gracefully, you can create a new pool and just delete the old one. 这里有一个关于如何顺利迁移到新节点池的教程: https//cloud.google.com/kubernetes-engine/docs/tutorials/migrating-node-pool如果您不关心pod正常终止,那么你可以创建一个新池,只删除旧池。

You can find more content about this at https://cloud.google.com/blog/products/gcp/kubernetes-best-practices-upgrading-your-clusters-with-zero-downtime . 您可以在https://cloud.google.com/blog/products/gcp/kubernetes-best-practices-upgrading-your-clusters-with-zero-downtime找到更多相关内容。

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

相关问题 如何将kubernetes事件从GKE集群传播到谷歌云日志 - How to propagate kubernetes events from a GKE cluster to google cloud log Google Cloud Kubernetes - 如何创建区域或区域 GKE 集群? - Google Cloud Kubernetes - How to create Zonal or Regional GKE cluster? 如何在 Ansible 中检索已创建的 Google Kubernetes (GKE) 集群的凭据? - How to retrieve credentials of a created Google Kubernetes (GKE) cluster in Ansible? 如何在GKE上扩展Kubernetes集群? - How to scale a Kubernetes cluster on GKE? Terraform:如何使用命名空间在Google Cloud(GKE)上创建Kubernetes集群? - Terraform: How to create a Kubernetes cluster on Google Cloud (GKE) with namespaces? 如何使用自定义图像在 Ansible 中创建 Google Kubernetes (GKE) 集群? - How to create Google Kubernetes (GKE) cluster in Ansible with custom image? 如何使用 python 删除 GKE(Google Kubernetes 引擎)集群? - How to delete GKE (Google Kubernetes Engine) cluster using python? Google(GKE)中的Kubernetes集群正在扩展节点 - Kubernetes cluster in Google (GKE) is over scaling nodes GKE - 混合 Kubernetes 集群 - GKE - Hybrid Kubernetes cluster 如何使用多个 Google Kubernetes Engine (GKE) 集群制作多区域 Kafka/Zookeeper 集群? - How to make a multi-regional Kafka/Zookeeper cluster using multiple Google Kubernetes Engine (GKE) clusters?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM