I tried to install self-host gitpod on GCP, but error shows as
Error: googleapi: Error 400: Master version "1.15.12-gke.9" is unsupported., badRequest
is that something that i wrong or its the issue in gitpod terraform config?
It would seem that the installer chooses an outdated version of GKE. Did you use the "one line" Docker-based installer or use the terraform scripts directly?
This reproduces for me with the online docker installer.
The current version for the stable track is "1.16.13-gke.401".
To avoid having to keep the version up to date, you can use the terraform google_container_engine_versions data provider:
data "google_container_engine_versions" "gke" {
provider = google-beta
}
...
node_version = data.google_container_engine_versions.gke.release_channel_default_version["STABLE"]
It would seem that the installer chooses an outdated version of GKE. Did you use the "one line" Docker-based installer or use the terraform scripts directly?
i ran this command to install on GCP
docker run --rm -it \
-v $PWD/gcloud:/root/.config/gcloud \
-v $PWD/gpinstall:/workspace \
eu.gcr.io/gitpod-io/self-hosted/installer:latest \
gcp
same error
googleapi: Error 400: Master version "1.15.12-gke.9" is unsupported., badRequest
docker run --rm -it \
-v $PWD/gcloud:/root/.config/gcloud \
-v $PWD/gpinstall:/workspace \
eu.gcr.io/gitpod-io/self-hosted/installer:latest \
gcp
I have the same issue... Unfortunately, I have no idea how to re-build the image myself ^^'
You don't have to rebuild the image yourself. After running it for the first time, you can edit the terraform files in the $PWD/gpinstall folder.
I've updated the min_master_version in gpinstall/gitpod/gcp/modules/kubernetes/main.tf to match the current GCP version and the installation is working.
Ah, I missed that. Thanks. I will try that and report back.
EDIT: Yup, works now. Thanks for your help!
I managed to change the file but I'm not sure what to do now. What command did you use instead of the docker one as it rebuilds it?
@Flashthedev you should be able to run the same docker command again:
docker run --rm -it \
-v $PWD/gcloud:/root/.config/gcloud \
-v $PWD/gpinstall:/workspace \
eu.gcr.io/gitpod-io/self-hosted/installer:latest \
gcp
It will use your updated files from the $PWD/gpinstall directory