Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
e0c9d9ed
Commit
e0c9d9ed
authored
Apr 03, 2015
by
Yu-Ju Hong
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6385 from jayunit100/k8petstore-fix-ip
Remove loopback ip from k8petstore PublicIPs
parents
b35e66b5
0a0d7192
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
k8petstore.sh
examples/k8petstore/k8petstore.sh
+2
-2
No files found.
examples/k8petstore/k8petstore.sh
View file @
e0c9d9ed
...
@@ -4,7 +4,7 @@ echo "WRITING KUBE FILES , will overwrite the jsons, then testing pods. is kube
...
@@ -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=$GOPATH/src/github.com/GoogleCloudPlatform/kubernetes/cluster/kubectl.sh"
kubectl
=
"kubectl"
kubectl
=
"kubectl"
VERSION
=
"r.2.8.19"
VERSION
=
"r.2.8.19"
PUBLIC_IP
=
"1
27.0.0.1
"
# ip which we use to access the Web server.
PUBLIC_IP
=
"1
0.1.4.89
"
# ip which we use to access the Web server.
SECONDS
=
1000
# number of seconds to measure throughput.
SECONDS
=
1000
# number of seconds to measure throughput.
FE
=
"1"
# amount of Web server
FE
=
"1"
# amount of Web server
LG
=
"1"
# amount of load generators
LG
=
"1"
# amount of load generators
...
@@ -76,7 +76,7 @@ cat << EOF > fe-s.json
...
@@ -76,7 +76,7 @@ cat << EOF > fe-s.json
"apiVersion": "v1beta1",
"apiVersion": "v1beta1",
"port": 3000,
"port": 3000,
"containerPort": 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": {
"selector": {
"name": "frontend"
"name": "frontend"
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment