Skip to content

Commit b9fb656

Browse files
committed
Move start kubescheduler to it own function
Currently the kubescheduler starts in the start_kubeproxy This change move it to ir own function start_kubescheduler Change-Id: Iff93114d4becabe4b6b937c5077821e092abffd3 Signed-off-by: Moshe Levi <[email protected]>
1 parent 139a13d commit b9fb656

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hack/local-up-cluster.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,9 @@ EOF
909909
--config=/tmp/kube-proxy.yaml \
910910
--master="https://${API_HOST}:${API_SECURE_PORT}" >"${PROXY_LOG}" 2>&1 &
911911
PROXY_PID=$!
912+
}
913+
914+
function start_kubescheduler {
912915

913916
SCHEDULER_LOG=${LOG_DIR}/kube-scheduler.log
914917
${CONTROLPLANE_SUDO} "${GO_OUT}/hyperkube" scheduler \
@@ -1103,6 +1106,7 @@ if [[ "${START_MODE}" != "kubeletonly" ]]; then
11031106
start_cloud_controller_manager
11041107
fi
11051108
start_kubeproxy
1109+
start_kubescheduler
11061110
start_kubedns
11071111
if [[ "${ENABLE_NODELOCAL_DNS:-}" == "true" ]]; then
11081112
start_nodelocaldns

0 commit comments

Comments
 (0)