Skip to content

Commit af5a57c

Browse files
committed
swaps the ports correctly
1 parent 002c3ca commit af5a57c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

endpoints/getting-started/container-engine.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ metadata:
1919
spec:
2020
ports:
2121
- port: 80
22-
targetPort: 8080
22+
targetPort: 8081
2323
protocol: TCP
2424
name: http
2525
selector:
@@ -42,14 +42,14 @@ spec:
4242
- name: esp
4343
image: b.gcr.io/endpoints/endpoints-runtime:0.3
4444
args: [
45-
"-p", "8080",
45+
"-p", "8081",
4646
"-a", "127.0.0.1:8080",
4747
"-s", "SERVICE_NAME",
4848
"-v", "SERVICE_VERSION",
4949
]
5050
# [END esp]
5151
ports:
52-
- containerPort: 8080
52+
- containerPort: 8081
5353
- name: echo
5454
image: gcr.io/google-samples/echo-php:1.0
5555
ports:

0 commit comments

Comments
 (0)