GoogleCloudPlatform / istio-samples

Istio demos and sample applications for GCP
https://cloud.google.com/istio
Apache License 2.0
333 stars 142 forks source link

multicluster-gke examples use basic authentication, which fails as of GKE 1.19 #78

Closed kynan closed 1 year ago

kynan commented 3 years ago
$ export PROJECT_ID=$(gcloud config get-value project)
$ git clone https://github.com/GoogleCloudPlatform/istio-samples.git
$ cd istio-samples/multicluster-gke/single-control-plane
~/istio-samples/multicluster-gke/single-control-plane$ bash scripts/1-cluster-create.sh
Updated property [core/project].
Creating cluster1...
WARNING: Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
WARNING: Starting in January 2021, clusters will use the Regular release channel by default when `--cluster-version`, `--release-channel`, `--no-enable-autoupgrade`, and `--no-enable-autorepair` flags are not specified.
WARNING: Starting with version 1.18, clusters will have shielded GKE nodes by default.
WARNING: The Pod address range limits the maximum size of the cluster. Please refer to https://cloud.google.com/kubernetes-engine/docs/how-to/flexible-pod-cidr to learn how to optimize IP address allocation.
ERROR: (gcloud.container.clusters.create) ResponseError: code=400, message=Basic authentication was removed for GKE cluster versions >= 1.19. The cluster cannot be created with basic authentication enabled. Instructions for choosing an alternative authentication method can be found at: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication.
bourgeoisor commented 1 year ago

This repository is archived in favour of https://github.com/GoogleCloudPlatform/anthos-service-mesh-samples