Skip to content

Commit 9a96a73

Browse files
authored
Merge pull request #468 from davidz627/add/topology
Add TopologyKey to driver info so that topology tests run in multizone clusters
2 parents 342ecc6 + e59956e commit 9a96a73

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

test/k8s-integration/config/test-config-template.in

+2
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ DriverInfo:
2020
SupportedSizeRange:
2121
Min: 5Gi
2222
Max: 64Ti
23+
TopologyKeys:
24+
- topology.gke.io/zone

test/run-k8s-integration-local.sh

+11
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,17 @@ make -C ${PKGDIR} test-k8s-integration
3535
# --deployment-strategy=gce --kube-version=${kube_version} \
3636
# --test-version=${test_version} --num-nodes=3
3737

38+
39+
# This version of the command creates a regional GKE cluster. It will test with
40+
# the latest GKE version and the master test version
41+
42+
# ${PKGDIR}/bin/k8s-integration-test --run-in-prow=false \
43+
# --staging-image=${GCE_PD_CSI_STAGING_IMAGE} --service-account-file=${GCE_PD_SA_DIR}/cloud-sa.json \
44+
# --deploy-overlay-name=dev --bringup-cluster=false --teardown-cluster=false \
45+
# --storageclass-file=sc-standard.yaml --do-driver-build=false --test-focus="schedule.a.pod.with.AllowedTopologies" \
46+
# --gce-region="us-central1" --num-nodes=${NUM_NODES:-3} --gke-cluster-version="latest" --deployment-strategy="gke" \
47+
# --test-version="master"
48+
3849
# This version of the command does not build the driver or K8s, points to a
3950
# local K8s repo to get the e2e.test binary, and does not bring up or down the cluster
4051

0 commit comments

Comments
 (0)