Skip to content

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

Merged
merged 5 commits into from
Mar 28, 2018

Conversation

simonz130
Copy link

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

@simonz130 simonz130 added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Mar 8, 2018
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 8, 2018
@@ -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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change "==" to "=".

Copy link
Author

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
Copy link
Contributor

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.

@simonz130 simonz130 removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Mar 28, 2018
@simonz130 simonz130 changed the title [DO NOT MERGE] Change to endpoints managed rollout Change to endpoints managed rollout Mar 28, 2018
@@ -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>

Copy link
Contributor

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.

Copy link
Author

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.

@theacodes theacodes merged commit 6630946 into GoogleCloudPlatform:master Mar 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants