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:
Kubernetes Prow Robot
2020-09-22 12:21:09 -07:00
committed by GitHub

View File

@@ -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