mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #86582 from mlmhl/local-up-cluster
do not wait for node ready when starting kube-proxy in 'nokubelet' mode
This commit is contained in:
commit
100fe77b38
@ -828,9 +828,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