【问题标题】:Cannot delete gke instance无法删除 gke 实例
【发布时间】:2020-12-19 22:54:52
【问题描述】:

Gke 已经为删除一个节点而苦苦挣扎了将近一个月,而该实例似乎不知何故陷入了困境。我无法暂停、停止或删除它。 无论我如何尝试摆脱它,它都会返回相同错误的变体。

ERROR: (gcloud.compute.instances.delete) Could not fetch resource:
 - Too many pending operations on a resource.

LE:日志浏览器显示

Instance Group Manager 'projects/xxx/zones/us-central1-a/instanceGroupManagers/gke-standard-cluster-spot-4core-16ram-xxxxx' initiated deleteInstance on instance 'projects/xxxx/zones/us-central1-a/instances/gke-standard-cluster-spot-4core-16ram-xxxx'. Reason: need to continue current process.

有人能告诉我如何摆脱它吗?它几乎搞砸了自动缩放器,因为从它的角度来看,即将产生一个新节点(尽管自 11 月 23 日以来它一直在尝试)

【问题讨论】:

标签: google-cloud-platform google-kubernetes-engine


【解决方案1】:

请检查您的实例组大小。如果您有很多实例组。

如果您只是运行 GCLOUD COMPUTE INSTANCE DELETE,它将无法正常工作。

如果您删除其中一台机器,GCE 将启动一台新机器。您必须使用 gcloud compute instance-groups managed delete-instances 命令,然后使用 gcloud compute instance-groups managed wait-until-stable。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-07-21
    • 1970-01-01
    • 2019-04-16
    • 1970-01-01
    • 2021-09-30
    • 1970-01-01
    • 1970-01-01
    • 2018-04-14
    相关资源
    最近更新 更多