Skip to content

Commit

Permalink
Increase the time we wait for the kubelet to be healthy.
Browse files Browse the repository at this point in the history
  • Loading branch information
roberthbailey committed Apr 1, 2015
1 parent 6bdb3bf commit 1fa7955
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/test-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ kube::log::status "Starting kubelet in masterless mode"
--address="127.0.0.1" \
--port="$KUBELET_PORT" 1>&2 &
KUBELET_PID=$!
kube::util::wait_for_url "http://127.0.0.1:${KUBELET_PORT}/healthz" "kubelet: "
kube::util::wait_for_url "http://127.0.0.1:${KUBELET_PORT}/healthz" "kubelet: " 0.2 25
kill ${KUBELET_PID} 1>&2 2>/dev/null

kube::log::status "Starting kubelet in masterful mode"
Expand All @@ -78,7 +78,7 @@ kube::log::status "Starting kubelet in masterful mode"
--port="$KUBELET_PORT" 1>&2 &
KUBELET_PID=$!

kube::util::wait_for_url "http://127.0.0.1:${KUBELET_PORT}/healthz" "kubelet: "
kube::util::wait_for_url "http://127.0.0.1:${KUBELET_PORT}/healthz" "kubelet: " 0.2 25

# Start kube-apiserver
kube::log::status "Starting kube-apiserver"
Expand Down

0 comments on commit 1fa7955

Please sign in to comment.