I am working on a disaster recovery strategy and would like to automate the cloud run infrastructure deployment on the Google Cloud platform if the service is unavailable for more than 10 minutes.
To do the above automation, I want to check if my cloud run's get public API's are responding or not and send an alert that will trigger the automation and provision the resource
Problem
I am not able to produce a 503 error on the demo container (hello-world) of cloud run, I tried sending 10000 requests using python multiprocessing with 1 concurrency on Cloud run keeping max instances at 1 and minimum instances at 0, Memory- 128MB, CPU-1
How can I produce a 503 error on the cloud run demo container hello-world and see the what is the status of the get public API?
What I don't want to do
I don't want to add a healthcheck to the container application and use that healthcheck to determine the availability of the container cloud run service.