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

Commit b029ad9

Browse files
committed
Workaround Spark incompatibility with Kubernetes 1.17
1 parent fb645dd commit b029ad9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cluster_scripts/create-cluster-gke.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ CLUSTER_VERSION=$2
4545
if [ -z "$CLUSTER_VERSION" ]
4646
then
4747
# https://cloud.google.com/kubernetes-engine/versioning-and-upgrades#versions_available_for_new_cluster_masters
48-
CLUSTER_VERSION=$(gcloud container get-server-config --format json | jq -r .defaultClusterVersion)
48+
# WORKAROUND FIX-ME
49+
CLUSTER_VERSION="1.16.15-gke.10600"
50+
# CLUSTER_VERSION=$(gcloud container get-server-config --format json | jq -r .defaultClusterVersion)
4951
echo "No cluster version specified. Using the default: $CLUSTER_VERSION"
5052
else
5153
echo "Cluster version: $CLUSTER_VERSION"

0 commit comments

Comments
 (0)