Reputation: 217
I deployed a streamlit application container to Google Cloud run, and I got an error saying that the requested URL /healthz was not found, I searched for that online and found that the /healthz path is somehow reserved by Google, so is there any proper way to fix that?
Thanks in advance.
Upvotes: 1
Views: 659
Reputation: 532
This has been fixed in Streamlit version 1.18.
Here's a snippet of the changelogs:
🏁 All Streamlit endpoints (including /healthz) have been renamed to have a consistent pattern and avoid any clashes with reserved endpoints of GCP (notably Cloud Run and App Engine) (#5534).
Hope this helps.
Upvotes: 1
Reputation: 2905
As mentioned in this Cloud Run documentation.healthz is reserved url in GCP Cloud Run
It is not possible to use the following URL paths:
/eventlog
Paths starting with /_ah/
Some paths ending with z
There is a bug raised for this at github. Which is still open further progress can be tracked there.
You can check this github to deploy on App Engine, but it mentioned in this discussion forum the recommended approach is to deploy on GKE
Upvotes: 1