Skip to content

Commit

Permalink
do not wait for node ready when starting kube-proxy in 'nokubelet' mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mlmhl committed Dec 24, 2019
1 parent d758fc3 commit 57aa092
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions hack/local-up-cluster.sh
Expand Up @@ -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
Expand Down

0 comments on commit 57aa092

Please sign in to comment.