Fix vagrant so that ssh commands work OOTB, (squashed) move verify to vagrant/util.sh, remove run_provider_test, cleanup.

This commit is contained in:
jayunit100
2015-03-17 12:28:12 -04:00
parent 404b20e6b8
commit 9b67949085
2 changed files with 7 additions and 0 deletions

View File

@@ -174,6 +174,12 @@ function verify-cluster {
done
done
# By this time, all kube api calls should work, so no need to loop and retry.
echo "Validating we can run kubectl commands."
vagrant ssh master --command "kubectl get pods" || {
echo "WARNING: kubectl to localhost failed. This could mean localhost is not bound to an IP"
}
(
echo
echo "Kubernetes cluster is running. The master is running at:"