Skip to content

Commit

Permalink
Merge pull request kubernetes#6385 from jayunit100/k8petstore-fix-ip
Browse files Browse the repository at this point in the history
Remove loopback ip from k8petstore PublicIPs
  • Loading branch information
yujuhong committed Apr 3, 2015
2 parents b35e66b + 0a0d719 commit e0c9d9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/k8petstore/k8petstore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
},
Expand Down

0 comments on commit e0c9d9e

Please sign in to comment.