Skip to content

Commit 343bb4b

Browse files
authored
Merge pull request kubernetes#74561 from moshe010/start_kube_scheduler
Move start kubescheduler to it own function
2 parents 83fc13e + b9fb656 commit 343bb4b

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
@@ -818,6 +818,9 @@ EOF
818818
--config=/tmp/kube-proxy.yaml \
819819
--master="https://${API_HOST}:${API_SECURE_PORT}" >"${PROXY_LOG}" 2>&1 &
820820
PROXY_PID=$!
821+
}
822+
823+
function start_kubescheduler {
821824

822825
SCHEDULER_LOG=${LOG_DIR}/kube-scheduler.log
823826
${CONTROLPLANE_SUDO} "${GO_OUT}/hyperkube" scheduler \
@@ -1012,6 +1015,7 @@ if [[ "${START_MODE}" != "kubeletonly" ]]; then
10121015
start_cloud_controller_manager
10131016
fi
10141017
start_kubeproxy
1018+
start_kubescheduler
10151019
start_kubedns
10161020
if [[ "${ENABLE_NODELOCAL_DNS:-}" == "true" ]]; then
10171021
start_nodelocaldns

0 commit comments

Comments
 (0)