Commit 61db9771 authored by Adam Reese's avatar Adam Reese

Merge pull request #587 from adamreese/fix/kube-dns

fix(scripts): require docker 1.10.3
parents d11dd488 f6e9dcc4
...@@ -51,6 +51,11 @@ verify_prereqs() { ...@@ -51,6 +51,11 @@ verify_prereqs() {
if ! docker info > /dev/null 2>&1 ; then if ! docker info > /dev/null 2>&1 ; then
error_exit "Can't connect to 'docker' daemon. please fix and retry." error_exit "Can't connect to 'docker' daemon. please fix and retry."
fi fi
if [[ ! $(docker version --format {{.Server.Version}}) == "1.10.3" ]]; then
error_exit "docker version 1.10.3 is required"
fi
echo "You are golden, carry on..." echo "You are golden, carry on..."
} }
...@@ -117,7 +122,7 @@ wait_for_kubernetes() { ...@@ -117,7 +122,7 @@ wait_for_kubernetes() {
create_kube_system_namespace() { create_kube_system_namespace() {
echo "Creating kube-system namespace..." echo "Creating kube-system namespace..."
$KUBECTL create -f "${HELM_ROOT}/scripts/cluster/kube-system.yaml" || : $KUBECTL create -f "${HELM_ROOT}/scripts/cluster/kube-system.yaml"
} }
create_kube_dns() { create_kube_dns() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment