mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Remove 'auth-path' in the arguments for kubelet.
Otherwise kubelet will fail to create the client because it can't find the nonexisting auth file.
This commit is contained in:
parent
8605f43df5
commit
621dc01f42
@ -178,7 +178,6 @@ if [[ -z "${DOCKERIZE_KUBELET}" ]]; then
|
|||||||
--hostname_override="127.0.0.1" \
|
--hostname_override="127.0.0.1" \
|
||||||
--address="127.0.0.1" \
|
--address="127.0.0.1" \
|
||||||
--api_servers="${API_HOST}:${API_PORT}" \
|
--api_servers="${API_HOST}:${API_PORT}" \
|
||||||
--auth_path="${KUBE_ROOT}/hack/.test-cmd-auth" \
|
|
||||||
--port="$KUBELET_PORT" >"${KUBELET_LOG}" 2>&1 &
|
--port="$KUBELET_PORT" >"${KUBELET_LOG}" 2>&1 &
|
||||||
KUBELET_PID=$!
|
KUBELET_PID=$!
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user