Skip to content

Create k8s-grpc-bookstore.yaml #1492

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 2 commits into from
May 18, 2018
Merged

Create k8s-grpc-bookstore.yaml #1492

merged 2 commits into from
May 18, 2018

Conversation

navinger
Copy link
Contributor

I'm in the process of adding a tutorial to the Endpoints gRPC docs for running the bookstore sample on Kubernetes (K8s). I need this file for the tutorial so that the only thing people have to configure is the SERVICE_NAME.

I'm in the process of adding a tutorial to the Endpoints gRPC docs for running the bookstore sample on Kubernetes (K8s). I need this file for the tutorial so that the only thing people have to configure is the SERVICE_NAME.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 17, 2018
# See the License for the specific language governing permissions and
# limitations under the License

apiVersion: v1
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd suggest adding a comment/description at the top, to explain in which circumstances this k8s descriptor should be used.
Here, I'd emphasize that this descriptor should be used on any K8s cluster that isn't running in GCP.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added comments to yaml files that the tutorials use.

image: gcr.io/endpoints-release/endpoints-runtime:1
args: [
"--http2_port=9000",
"--service=SERVICE_NAME",

Choose a reason for hiding this comment

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

Will the tutorial ask the person to change SERVICE_NAME manually?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes.

@simonz130 simonz130 merged commit e2848d6 into GoogleCloudPlatform:master May 18, 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.

4 participants