google cloud platform – Configure uptime check via YAML

enter image description here

I’m trying to set this up during my deploy YAML (inline in the trigger).
I can’t find the right command to run

I tried the gcloud.run.services.update, but it errors with “unrecognized arguments”

  --health-check-http-path=/healthz

Complete step:

- name: gcr.io/google.com/cloudsdktool/cloud-sdk
args:
  - run
  - services
  - update
  - $_SERVICE_NAME
  - --startup-delay=60s
  - --health-check-http-path=/healthz
entrypoint: gcloud
id: Configure Startup Probe

Read more here: Source link