Skip to content

Commit df78dfa

Browse files
author
Simon Zeltser
committed
[DO NOT MERGE] Change to endpoints managed rollout
1 parent af753bb commit df78dfa

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

endpoints/getting-started-grpc/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ and [SDK](https://cloud.google.com/sdk/) configured.
7171
```bash
7272
GCLOUD_PROJECT=$(curl -s "http://metadata.google.internal/computeMetadata/v1/project/project-id" -H "Metadata-Flavor: Google")
7373
SERVICE_NAME=hellogrpc.endpoints.${GCLOUD_PROJECT}.cloud.goog
74-
SERVICE_CONFIG_ID=<Your Config ID>
7574
```
7675
7776
1. Pull your credentials to access Container Registry, and run your gRPC server container
@@ -91,7 +90,7 @@ and [SDK](https://cloud.google.com/sdk/) configured.
9190
--link=grpc-hello:grpc-hello \
9291
gcr.io/endpoints-release/endpoints-runtime:1 \
9392
--service=${SERVICE_NAME} \
94-
--version=${SERVICE_CONFIG_ID} \
93+
--rollout_strategy=managed \
9594
--http2_port=9000 \
9695
--backend=grpc://grpc-hello:50051
9796
```
@@ -116,7 +115,7 @@ and [SDK](https://cloud.google.com/sdk/) configured.
116115
gcloud container clusters create my-cluster
117116
```
118117
119-
1. Edit `deployment.yaml`. Replace `SERVICE_NAME`, `SERVICE_CONFIG_ID`, and `GCLOUD_PROJECT` with your values.
118+
1. Edit `deployment.yaml`. Replace `SERVICE_NAME` and `GCLOUD_PROJECT` with your values.
120119
121120
1. Deploy to GKE
122121

endpoints/getting-started-grpc/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ spec:
4444
"--http2_port=9000",
4545
"--backend=grpc://127.0.0.1:50051",
4646
"--service=SERVICE_NAME",
47-
"--version=SERVICE_CONFIG_ID",
47+
"--rollout_strategy=managed",
4848
]
4949
ports:
5050
- containerPort: 9000

endpoints/getting-started/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ spec:
4545
"--http_port=8081",
4646
"--backend=127.0.0.1:8080",
4747
"--service=SERVICE_NAME",
48-
"--version=SERVICE_CONFIG_ID",
48+
"--rollout_strategy=managed",
4949
]
5050
# [END esp]
5151
ports:

0 commit comments

Comments
 (0)