Skip to content

Commit a62d3ea

Browse files
navingerlesv
authored andcommitted
Use long options for ESP config (#956)
For better readability, let's use the long options for the ESP config. Here's the doc: https://cloud.google.com/endpoints/docs/openapi/specify-proxy-startup-options
1 parent 40c51ed commit a62d3ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

endpoints/getting-started/deployment.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ spec:
4242
- name: esp
4343
image: gcr.io/endpoints-release/endpoints-runtime:1
4444
args: [
45-
"-p", "8081",
46-
"-a", "127.0.0.1:8080",
47-
"-s", "SERVICE_NAME",
48-
"-v", "SERVICE_CONFIG_ID",
45+
"--http_port", "8081",
46+
"--backend", "127.0.0.1:8080",
47+
"--service", "SERVICE_NAME",
48+
"--version", "SERVICE_CONFIG_ID",
4949
]
5050
# [END esp]
5151
ports:

0 commit comments

Comments
 (0)