Skip to content

Commit

Permalink
test: remove pin for cluster version (#6692)
Browse files Browse the repository at this point in the history
* remove pin for cluster version

* pin image type to cos
  • Loading branch information
capri-xiyue committed Oct 6, 2021
1 parent a2cdf74 commit ea205cf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/deploy-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,9 @@ else
SCOPE_ARG="--scopes=storage-rw,cloud-platform"
fi
# Use regular release channel to keep up with newly created clusters in Google Cloud Marketplace.
# Uncomment the line below when we start to supporter non-docker container
# gcloud container clusters create ${TEST_CLUSTER} --release-channel regular ${SCOPE_ARG} ${NODE_POOL_CONFIG_ARG} ${WI_ARG}
# Temporarily pin k8s version to 1.18 since k8s version 1.19 or above does not support docker
gcloud container clusters create ${TEST_CLUSTER} --cluster-version 1.18 ${SCOPE_ARG} ${NODE_POOL_CONFIG_ARG} ${WI_ARG}
# Temporarily use cos as image type until docker dependencies gets removed. reference: https://github.com/kubeflow/pipelines/issues/6696
gcloud container clusters create ${TEST_CLUSTER} --image-type cos --release-channel regular ${SCOPE_ARG} ${NODE_POOL_CONFIG_ARG} ${WI_ARG}
fi

gcloud container clusters get-credentials ${TEST_CLUSTER}
Expand Down

0 comments on commit ea205cf

Please sign in to comment.