Skip to content

Commit 7d46560

Browse files
authored
Merge pull request #536 from saikat-royc/issue-535
Honor image type option in GKE cluster deploy
2 parents c16e7d1 + 704b2af commit 7d46560

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/k8s-integration/cluster.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ func clusterUpGKE(gceZone, gceRegion string, numNodes int, imageType string, use
155155

156156
var cmd *exec.Cmd
157157
cmdParams := []string{"container", "clusters", "create", gkeTestClusterName,
158-
locationArg, locationVal, "--num-nodes", strconv.Itoa(numNodes)}
158+
locationArg, locationVal, "--num-nodes", strconv.Itoa(numNodes),
159+
"--quiet", "--machine-type", "n1-standard-2", "--image-type", imageType}
159160
if isVariableSet(gkeClusterVer) {
160161
cmdParams = append(cmdParams, "--cluster-version", *gkeClusterVer)
161162
} else {

0 commit comments

Comments
 (0)