Commit 52e5df7e authored by Brian Grant's avatar Brian Grant

Merge pull request #9141 from thockin/services-e2e

Make a namespace before using it
parents 0cb0a568 3211f851
......@@ -64,6 +64,19 @@ function do_teardown() {
${KUBECTL} delete namespace "${NAMESPACE}"
}
function make_namespace() {
echo "Making namespace '${NAMESPACE}'"
${KUBECTL} create -f - << __EOF__
{
"kind": "Namespace",
"apiVersion": "v1beta3",
"metadata": {
"name": "${NAMESPACE}"
}
}
__EOF__
}
# Args:
# $1: service name
# $2: service port
......@@ -292,6 +305,9 @@ detect-minions
test_node="${MINION_NAMES[0]}"
master="${MASTER_NAME}"
# Make our namespace
make_namespace
# Launch some pods and services.
svc1_name="service1"
svc1_port=80
......
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