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
Copy file name to clipboardExpand all lines: test/k8s-integration/main.go
+32-27
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,8 @@ var (
45
45
localK8sDir=flag.String("local-k8s-dir", "", "local prebuilt kubernetes/kubernetes directory to use for cluster and test binaries")
46
46
deploymentStrat=flag.String("deployment-strategy", "gce", "choose between deploying on gce or gke")
47
47
gkeClusterVer=flag.String("gke-cluster-version", "", "version of Kubernetes master and node for gke")
48
-
numNodes=flag.Int("num-nodes", -1, "the number of nodes in the test cluster")
48
+
numNodes=flag.Int("num-nodes", 0, "the number of nodes in the test cluster")
49
+
numWindowsNodes=flag.Int("num-windows-nodes", 0, "the number of Windows nodes in the test cluster")
49
50
imageType=flag.String("image-type", "cos", "the image type to use for the cluster")
50
51
gkeReleaseChannel=flag.String("gke-release-channel", "", "GKE release channel to be used for cluster deploy. One of 'rapid', 'stable' or 'regular'")
51
52
gkeTestClusterPrefix=flag.String("gke-cluster-prefix", "pdcsi", "Prefix of GKE cluster names. A random suffix will be appended to form the full name.")
@@ -160,10 +161,6 @@ func main() {
160
161
}
161
162
}
162
163
163
-
if*platform=="windows" {
164
-
ensureFlag(bringupCluster, false, "bringupCluster is set to false if it is for testing in windows cluster")
165
-
}
166
-
167
164
if*deploymentStrat=="gke" {
168
165
ensureVariable(kubeVersion, false, "Cannot set kube-version when using deployment strategy 'gke'. Use gke-cluster-version.")
0 commit comments