Revert "Implement 'Nodes Network' test for GKE"

This commit is contained in:
Wojciech Tyczynski
2015-07-30 15:29:01 +02:00
parent 769230e735
commit 2c5c1931e5
3 changed files with 20 additions and 5 deletions

View File

@@ -210,17 +210,18 @@ function get-password() {
| grep password | cut -f 4 -d ' ')
}
# Detect the IP for the master. Note that on GKE, we don't know the name of the
# master, so KUBE_MASTER is not set.
# Detect the instance name and IP for the master
#
# Assumed vars:
# ZONE
# CLUSTER_NAME
# Vars set:
# KUBE_MASTER
# KUBE_MASTER_IP
function detect-master() {
echo "... in gke:detect-master()" >&2
detect-project >&2
KUBE_MASTER="k8s-${CLUSTER_NAME}-master"
KUBE_MASTER_IP=$("${GCLOUD}" "${CMD_GROUP}" container clusters describe \
--project="${PROJECT}" --zone="${ZONE}" "${CLUSTER_NAME}" \
| grep endpoint | cut -f 2 -d ' ')