Welcome to Cloud Shell! Type "help" to get started.
luis@weather-4ad4a:~$ gcloud config set compute/zone us-central1-c
Updated property [compute/zone].
luis@weather-4ad4a:~$ gcloud container clusters create oscon --cluster-version 1.6.2
WARNING: Currently node auto repairs are disabled by default. In the future this will change and they will be enabled by default. Use --[no-]enable-autorepair flag to suppress this warning.
WARNING: Starting in Kubernetes v1.10, new clusters will no longer get compute-rw and storage-ro scopes added to what is specified in --scopes (though the latter will remain included in the default --scopes). To use these scopes, add them explicitly to --scopes. To use the new behavior, set container/new_scopes_behavior property (gcloud config set container/new_scopes_behavior true).
ERROR: (gcloud.container.clusters.create) ResponseError: code=400, message=no valid versions with the prefix "1.6.2" found.
1.5.7
I have the same problem while creating the cluster from gcloud cli
ERROR: (gcloud.container.clusters.create) ResponseError: code=400, message=no valid versions with the prefix "1.5.7" found.
Welcome to Cloud Shell! Type "help" to get started.
luis@weather-4ad4a:~$ gcloud config set compute/zone us-central1-c Updated property [compute/zone]. luis@weather-4ad4a:~$ gcloud container clusters create oscon --cluster-version 1.6.2 WARNING: Currently node auto repairs are disabled by default. In the future this will change and they will be enabled by default. Use
--[no-]enable-autorepair
flag to suppress this warning. WARNING: Starting in Kubernetes v1.10, new clusters will no longer get compute-rw and storage-ro scopes added to what is specified in --scopes (though the latter will remain included in the default --scopes). To use these scopes, add them explicitly to --scopes. To use the new behavior, set container/new_scopes_behavior property (gcloud config set container/new_scopes_behavior true). ERROR: (gcloud.container.clusters.create) ResponseError: code=400, message=no valid versions with the prefix "1.6.2" found.luis@weather-4ad4a:~$