From 0a0d719273c29415c8b579321d8ec4da1ea2c7a8 Mon Sep 17 00:00:00 2001 From: jayunit100 Date: Thu, 2 Apr 2015 21:12:04 +0000 Subject: [PATCH] Remove loopback ip from k8petstore PublicIPs --- examples/k8petstore/k8petstore.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/k8petstore/k8petstore.sh b/examples/k8petstore/k8petstore.sh index 6071e1a0ef562..4caf89b4cb12a 100755 --- a/examples/k8petstore/k8petstore.sh +++ b/examples/k8petstore/k8petstore.sh @@ -4,7 +4,7 @@ echo "WRITING KUBE FILES , will overwrite the jsons, then testing pods. is kube #kubectl=$GOPATH/src/github.com/GoogleCloudPlatform/kubernetes/cluster/kubectl.sh" kubectl="kubectl" VERSION="r.2.8.19" -PUBLIC_IP="127.0.0.1" # ip which we use to access the Web server. +PUBLIC_IP="10.1.4.89" # ip which we use to access the Web server. SECONDS=1000 # number of seconds to measure throughput. FE="1" # amount of Web server LG="1" # amount of load generators @@ -76,7 +76,7 @@ cat << EOF > fe-s.json "apiVersion": "v1beta1", "port": 3000, "containerPort": 3000, - "publicIPs":["$PUBLIC_IP","$PUBLIC_IP2", "10.1.4.89","127.0.0.1","10.1.4.82"], + "publicIPs":["$PUBLIC_IP","10.1.4.89"], "selector": { "name": "frontend" },