mirror of https://github.com/k3s-io/k3s
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 <moshele@mellanox.com>pull/564/head
parent
139a13d312
commit
b9fb656546
|
@ -909,6 +909,9 @@ EOF
|
|||
--config=/tmp/kube-proxy.yaml \
|
||||
--master="https://${API_HOST}:${API_SECURE_PORT}" >"${PROXY_LOG}" 2>&1 &
|
||||
PROXY_PID=$!
|
||||
}
|
||||
|
||||
function start_kubescheduler {
|
||||
|
||||
SCHEDULER_LOG=${LOG_DIR}/kube-scheduler.log
|
||||
${CONTROLPLANE_SUDO} "${GO_OUT}/hyperkube" scheduler \
|
||||
|
@ -1103,6 +1106,7 @@ if [[ "${START_MODE}" != "kubeletonly" ]]; then
|
|||
start_cloud_controller_manager
|
||||
fi
|
||||
start_kubeproxy
|
||||
start_kubescheduler
|
||||
start_kubedns
|
||||
if [[ "${ENABLE_NODELOCAL_DNS:-}" == "true" ]]; then
|
||||
start_nodelocaldns
|
||||
|
|
Loading…
Reference in New Issue