Skip to content

Commit 2d9ea0a

Browse files
ToreMerkelyclaude
andcommitted
docs: add scope pointer and deletion-protection note to Cloud Run tutorial
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 615f26b commit 2d9ea0a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tutorials/report_cloud_run_envs.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description: "Learn how to report running artifacts from a Google Cloud Run proj
55

66
By the end of this tutorial, you will have reported a snapshot of your Cloud Run environment to Kosli, making its running services and jobs visible and trackable.
77

8+
`kosli snapshot cloud-run` covers a specific set of GCP deploy methods. See the [`kosli snapshot cloud-run`](/client_reference/kosli_snapshot_cloud-run) reference for the current list of what's supported.
9+
810
There are two ways to do this:
911

1012
- **Kosli CLI** — quick to run, suitable for testing only
@@ -132,6 +134,10 @@ gcloud run jobs deploy kosli-reporter \
132134
Pin the CLI image to a specific version (for example `ghcr.io/kosli-dev/cli:v2.18.0`) so the reporter behaviour does not change unexpectedly when a new release is published.
133135
</Tip>
134136

137+
<Note>
138+
Cloud Run Jobs are created with `deletionProtection=true` by default. You will need to disable it (`gcloud run jobs update kosli-reporter --no-deletion-protection --region=<your-gcp-region>`) before you can delete or replace the Job later.
139+
</Note>
140+
135141
</Step>
136142

137143
<Step title="Schedule the reporter with Cloud Scheduler">

0 commit comments

Comments
 (0)