ERROR: (gcloud.compute.instance-templates.create) Could not fetch image resource:

10/11/2018

The cluster was running fine for 255 days. I brought down the cluster and after that, I was unable to run the cluster up. It gives the following error while running the cluster up.

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.

This Attempt goes on and it always fails. Am I missing something?

The kubernetes version is v1.7.2.

-- Ankur Maharjan
gcloud
google-cloud-platform
google-compute-engine
kubernetes

1 Answer

11/7/2018

It looks like the image you are trying to use to create the machines has been deprecated and/or is no longer available.

You should try specifying an alternative image to create these machines from Google's current public images.

-- neilH
Source: StackOverflow