-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Change to endpoints managed rollout #1387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
fixing bookstore.yaml
@@ -44,7 +44,7 @@ spec: | |||
"--http2_port=9000", | |||
"--backend=grpc://127.0.0.1:50051", | |||
"--service=SERVICE_NAME", | |||
"--version=SERVICE_CONFIG_ID", | |||
"--rollout_strategy==managed", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change "==" to "=".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
@@ -95,7 +95,6 @@ Cloud account and [SDK](https://cloud.google.com/sdk/) configured. | |||
```bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Up above after "gcloud endpoints services deploy ...":
- Remove comment about noting the config ID.
- Remove command about getting the config ID.
Fixing managed rollout typo with extra =
@@ -49,13 +49,10 @@ Cloud account and [SDK](https://cloud.google.com/sdk/) configured. | |||
|
|||
```bash | |||
gcloud endpoints services deploy api_descriptor.pb api_config.yaml | |||
# The Config ID should be printed out, looks like: 2017-02-01r0, remember this | |||
|
|||
# Set your project ID as a variable to make commands easier: | |||
GCLOUD_PROJECT=<Your Project ID> | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This blank line should probably also be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's better to have the blank line - for better clarity of the output.
We introduce a new feature where we can specify in YAML that service configuration for Endpoints is going to be managed. This means that the service will pull latest deployed service configuration automatically, rather than requiring customer to specify specific version of service configuration.
New flag:
--rollout_strategy=managed
Previously the only way to specify a version was using the following flag:
--version=SERVICE_CONFIG_ID