CloudEndpoint deploy using CloudDeply

Is it possible and is there any example of deplyoing gRPC CloudEndpoint GKE using CloudDeploy?

0 2 251
2 REPLIES 2

Hi @s0s0rhw,

Welcome to Google Cloud Community!

CloudDeploy is a service that allows you to deploy containerized applications to Kubernetes with a single command. It can be used to deploy a gRPC Cloud Endpoint to GKE by following these steps:

  1. Create a CloudDeploy configuration file that specifies the following:
    • The service name of your Cloud Endpoint.
    • The container image that contains your gRPC backend.
    • The Kubernetes service type that you want to use for your Cloud Endpoint.
  2. Deploy the CloudDeploy configuration file.
  3. Once the CloudDeploy deployment is complete, your Cloud Endpoint will be accessible at the URL specified in the CloudDeploy configuration file.

Example

Here is an example of a CloudDeploy configuration file for a gRPC Cloud Endpoint:

YAML
service: my-grpc-endpoint
image: gcr.io/my-project/my-grpc-backend:latest
serviceType: LoadBalancer

To deploy this CloudDeploy configuration file, you would run the following command:

cloud deploy deploy my-grpc-endpoint

Once the CloudDeploy deployment is complete, your Cloud Endpoint will be accessible at the following URL:

https://my-grpc-endpoint-deploy.my-project.clouddeploy.app/

Limitations: CloudDeploy is still in beta, and there may be some limitations or bugs.

Reference:

Cloud Deploy 

 

Is the yaml a full separate yaml file or a snippet that needs to be inserted? My current clouddeploy configuration file contains DeliveryPipeline and Target.
If it is the latter case, can. you show me the complete yaml file example?