Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new K8s version to improve workload identity stability #2777

Merged
merged 1 commit into from
Dec 31, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion test/deploy-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ else
# easily compare performance. We can reduce usage later.
NODE_POOL_CONFIG_ARG="--num-nodes=2 --machine-type=n1-standard-8 \
--enable-autoscaling --max-nodes=8 --min-nodes=2"
# Use new kubernetes master to improve workload identity stability.
KUBERNETES_VERSION_ARG="--cluster-version=1.14.8-gke.17"
if [ "$ENABLE_WORKLOAD_IDENTITY" = true ]; then
WI_ARG="--identity-namespace=$PROJECT.svc.id.goog"
SCOPE_ARG=
Expand All @@ -71,7 +73,7 @@ else
# reference: https://cloud.google.com/compute/docs/access/service-accounts#accesscopesiam
SCOPE_ARG="--scopes=storage-rw,cloud-platform"
fi
gcloud beta container clusters create ${TEST_CLUSTER} ${SCOPE_ARG} ${NODE_POOL_CONFIG_ARG} ${WI_ARG}
gcloud beta container clusters create ${TEST_CLUSTER} ${SCOPE_ARG} ${NODE_POOL_CONFIG_ARG} ${WI_ARG} ${KUBERNETES_VERSION_ARG}
fi

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