From d243be67803f14e31d8851d12ec3b0da2bfb9023 Mon Sep 17 00:00:00 2001 From: Aleksandr Pasechnik Date: Mon, 9 Jun 2025 11:27:37 -0400 Subject: [PATCH] feat: [SVLS-6935] python yaml docs for sidecar cloud run --- .../serverless/google_cloud/google_cloud_run.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/content/en/serverless/google_cloud/google_cloud_run.md b/content/en/serverless/google_cloud/google_cloud_run.md index cdbac99ae34..b5d04c83423 100644 --- a/content/en/serverless/google_cloud/google_cloud_run.md +++ b/content/en/serverless/google_cloud/google_cloud_run.md @@ -244,18 +244,21 @@ Add a `service` label which matches the `DD_SERVICE` value on the containers to {{% /tab %}} {{% tab "YAML deploy" %}} -1. Step -1. by -1. step -1. instructions - - with some details. +The [Python Sample App][1] includes an example of the YAML configuration. It uses the [Google CLoud Run YAML format][2] with the [gcloud run services replace][3] command to deploy the service. The sample yaml file includes placeholders for various fields that are specific to the app being deployed. + +**Note**: The `service` value needs to be set in multiple locations. The shared log volume needs to be connected to both the application and the sidecar containers. + +[1]: https://github.com/DataDog/serverless-gcp-sample-apps/tree/main/cloud-run/sidecar/python +[2]: https://cloud.google.com/run/docs/reference/yaml/v1 +[3]: https://cloud.google.com/sdk/gcloud/reference/run/services/replace + {{% /tab %}} {{% tab "Terraform" %}} The [Python Sample App][1] includes an example of a Terraform configuration. The app uses the `google_cloud_run_v2_service` [resource][2] from the `hashicorp/google` provider. **Note**: The `service` value needs to be set in multiple locations. The shared log volume needs to be connected to both the application and the sidecar containers. -[1]: https://github.com/DataDog/serverless-gcp-sample-apps/tree/aleksandr.pasechnik/gcp-docs-refresh/cloud-run/sidecar/python +[1]: https://github.com/DataDog/serverless-gcp-sample-apps/tree/main/cloud-run/sidecar/python [2]: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloud_run_v2_service {{% /tab %}}