File tree 3 files changed +4
-5
lines changed
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ and [SDK](https://cloud.google.com/sdk/) configured.
71
71
```bash
72
72
GCLOUD_PROJECT=$(curl -s "http://metadata.google.internal/computeMetadata/v1/project/project-id" -H "Metadata-Flavor: Google")
73
73
SERVICE_NAME=hellogrpc.endpoints.${GCLOUD_PROJECT}.cloud.goog
74
- SERVICE_CONFIG_ID=<Your Config ID>
75
74
```
76
75
77
76
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.
91
90
--link=grpc-hello:grpc-hello \
92
91
gcr.io/endpoints-release/endpoints-runtime:1 \
93
92
--service=${SERVICE_NAME} \
94
- --version=${SERVICE_CONFIG_ID} \
93
+ --rollout_strategy=managed \
95
94
--http2_port=9000 \
96
95
--backend=grpc://grpc-hello:50051
97
96
```
@@ -116,7 +115,7 @@ and [SDK](https://cloud.google.com/sdk/) configured.
116
115
gcloud container clusters create my-cluster
117
116
```
118
117
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.
120
119
121
120
1. Deploy to GKE
122
121
Original file line number Diff line number Diff line change 44
44
" --http2_port=9000" ,
45
45
" --backend=grpc://127.0.0.1:50051" ,
46
46
" --service=SERVICE_NAME" ,
47
- " --version=SERVICE_CONFIG_ID " ,
47
+ " --rollout_strategy=managed " ,
48
48
]
49
49
ports :
50
50
- containerPort : 9000
Original file line number Diff line number Diff line change 45
45
" --http_port=8081" ,
46
46
" --backend=127.0.0.1:8080" ,
47
47
" --service=SERVICE_NAME" ,
48
- " --version=SERVICE_CONFIG_ID " ,
48
+ " --rollout_strategy=managed " ,
49
49
]
50
50
# [END esp]
51
51
ports :
You can’t perform that action at this time.
0 commit comments