mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
do not wait for node ready when starting kube-proxy in 'nokubelet' mode
This commit is contained in:
parent
d758fc3edb
commit
57aa092ffe
@ -807,9 +807,11 @@ function start_kubelet {
|
||||
function start_kubeproxy {
|
||||
PROXY_LOG=${LOG_DIR}/kube-proxy.log
|
||||
|
||||
# wait for kubelet collect node information
|
||||
echo "wait kubelet ready"
|
||||
wait_node_ready
|
||||
if [[ "${START_MODE}" != "nokubelet" ]]; then
|
||||
# wait for kubelet collect node information
|
||||
echo "wait kubelet ready"
|
||||
wait_node_ready
|
||||
fi
|
||||
|
||||
cat <<EOF > /tmp/kube-proxy.yaml
|
||||
apiVersion: kubeproxy.config.k8s.io/v1alpha1
|
||||
|
Loading…
Reference in New Issue
Block a user