Skip to content

Commit 570a4d1

Browse files
authored
Merge pull request kubernetes#85905 from pierewoj/master
Create kubemark cluster as private
2 parents f4caa62 + 6f0eec4 commit 570a4d1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/kubemark/gce/util.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ function create-kubemark-master {
4444
export KUBE_CREATE_NODES=false
4545
export KUBE_GCE_INSTANCE_PREFIX="${KUBE_GCE_INSTANCE_PREFIX}-kubemark"
4646

47-
# Even if the "real cluster" is private, we shouldn't manage cloud nat.
48-
export KUBE_GCE_PRIVATE_CLUSTER=false
49-
5047
# Quite tricky cidr setup: we set KUBE_GCE_ENABLE_IP_ALIASES=true to avoid creating
5148
# cloud routes and RangeAllocator to assign cidrs by kube-controller-manager.
5249
export KUBE_GCE_ENABLE_IP_ALIASES=true
@@ -94,8 +91,6 @@ function delete-kubemark-master {
9491
export KUBE_GCE_INSTANCE_PREFIX="${KUBE_GCE_INSTANCE_PREFIX}-kubemark"
9592

9693
export KUBE_DELETE_NETWORK=false
97-
# Even if the "real cluster" is private, we shouldn't manage cloud nat.
98-
export KUBE_GCE_PRIVATE_CLUSTER=false
9994

10095
if [[ "${KUBEMARK_HA_MASTER:-}" == "true" && -n "${KUBEMARK_MASTER_ADDITIONAL_ZONES:-}" ]]; then
10196
for KUBE_GCE_ZONE in ${KUBEMARK_MASTER_ADDITIONAL_ZONES}; do

0 commit comments

Comments
 (0)