You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
isRegionalCluster=flag.Bool("is-regional-cluster", false, "tell the test that a regional cluster is being used. Should be used for running on an existing regional cluster (ie, --bringup-cluster=false). The test will fail if a zonal GKE cluster is created when this flag is true")
35
+
teardownCluster=flag.Bool("teardown-cluster", true, "teardown the cluster after the e2e test")
36
+
teardownDriver=flag.Bool("teardown-driver", true, "teardown the driver after the e2e test")
37
+
bringupCluster=flag.Bool("bringup-cluster", true, "build kubernetes and bringup a cluster")
38
+
platform=flag.String("platform", "linux", "platform that the tests will be run, either linux or windows")
39
+
gceZone=flag.String("gce-zone", "", "zone that the gce k8s cluster is created/found in")
40
+
gceRegion=flag.String("gce-region", "", "region that gke regional cluster should be created in")
41
+
kubeVersion=flag.String("kube-version", "", "version of Kubernetes to download and use for the cluster")
42
+
testVersion=flag.String("test-version", "", "version of Kubernetes to download and use for tests")
43
+
kubeFeatureGates=flag.String("kube-feature-gates", "", "feature gates to set on new kubernetes cluster")
44
+
localK8sDir=flag.String("local-k8s-dir", "", "local prebuilt kubernetes/kubernetes directory to use for cluster and test binaries")
45
+
deploymentStrat=flag.String("deployment-strategy", "gce", "choose between deploying on gce or gke")
46
+
gkeClusterVer=flag.String("gke-cluster-version", "", "version of Kubernetes master and node for gke")
47
+
numNodes=flag.Int("num-nodes", -1, "the number of nodes in the test cluster")
48
+
imageType=flag.String("image-type", "cos", "the image type to use for the cluster")
49
+
gkeReleaseChannel=flag.String("gke-release-channel", "", "GKE release channel to be used for cluster deploy. One of 'rapid', 'stable' or 'regular'")
50
+
gkeTestClusterPrefix=flag.String("gke-cluster-prefix", "pdcsi", "Prefix of GKE cluster names. A random suffix will be appended to form the full name.")
51
+
gkeTestClusterName=flag.String("gke-cluster-name", "", "Name of existing cluster")
isRegionalCluster=flag.Bool("is-regional-cluster", false, "tell the test that a regional cluster is being used. Should be used for running on an existing regional cluster (ie, --bringup-cluster=false). The test will fail if a zonal GKE cluster is created when this flag is true")
53
54
54
55
// Test infrastructure flags
55
56
boskosResourceType=flag.String("boskos-resource-type", "gce-project", "name of the boskos resource type to reserve")
@@ -164,8 +165,10 @@ func main() {
164
165
iflen(*localK8sDir) ==0 {
165
166
ensureVariable(testVersion, true, "Must set either test-version or local k8s dir when using deployment strategy 'gke'.")
0 commit comments