Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Workaround Spark incompatibility with Kubernetes 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaTP committed Feb 15, 2021
1 parent fb645dd commit b029ad9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cluster_scripts/create-cluster-gke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ CLUSTER_VERSION=$2
if [ -z "$CLUSTER_VERSION" ]
then
# https://cloud.google.com/kubernetes-engine/versioning-and-upgrades#versions_available_for_new_cluster_masters
CLUSTER_VERSION=$(gcloud container get-server-config --format json | jq -r .defaultClusterVersion)
# WORKAROUND FIX-ME
CLUSTER_VERSION="1.16.15-gke.10600"
# CLUSTER_VERSION=$(gcloud container get-server-config --format json | jq -r .defaultClusterVersion)
echo "No cluster version specified. Using the default: $CLUSTER_VERSION"
else
echo "Cluster version: $CLUSTER_VERSION"
Expand Down

0 comments on commit b029ad9

Please sign in to comment.