【问题标题】:ERROR: (gcloud.compute.instance-templates.create) Could not fetch image resource:错误:(gcloud.compute.instance-templates.create)无法获取图像资源:
【发布时间】:2018-10-11 13:39:13
【问题描述】:

集群运行良好 255 天。我关闭了集群,之后,我无法启动集群。运行集群时出现以下错误。

Creating minions.
Attempt 1 to create kubernetes-minion-template
ERROR: (gcloud.compute.instance-templates.create) Could not fetch image resource:
 - The resource 'projects/google-containers/global/images/container-vm-v20170627' was not found

Attempt 1 failed to create instance template kubernetes-minion-template. Retrying.

此尝试继续进行,但始终失败。我错过了什么吗?

kubernetes 版本为 v1.7.2。

【问题讨论】:

  • 这是一个 GKE 集群吗?
  • @Rico 不。 Kubernetes 安装在 Google VM 实例中。
  • 你用的是什么脚本?您自己的脚本还是公开可用的脚本?
  • @Rico 我在 255 天前部署时使用自己的脚本。我尝试使用相同的脚本,它给了我上面的错误,然后我也尝试了 kube-up.sh,它给了我同样的错误。

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


【解决方案1】:

您尝试用于创建机器的映像似乎已被弃用和/或不再可用。

您应该尝试指定一个替代图像以从 Google 当前的public images 创建这些机器。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-08-17
    • 2020-01-17
    • 1970-01-01
    • 2020-06-08
    • 2011-12-01
    • 2012-11-24
    • 2018-09-10
    • 1970-01-01
    相关资源
    最近更新 更多