You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected to find a similar guide for the PHP Functions Framework. This would be useful for all developers wishing to use this package with Google Cloud.
Example Section: Deploy a Container
You can deploy your containerized function to Cloud Run by following the Cloud Run quickstart.
Use the docker and gcloud CLIs to build and deploy a container to Cloud Run, replacing the project id $GOOGLE_CLOUD_PROJECT and image name php-ff:
If you want even more control over the environment, you can deploy your container image to Cloud Run on GKE. With Cloud Run on GKE, you can run your function on a GKE cluster, which gives you additional control over the environment (including use of GPU-based instances, longer timeouts and more).
Actual
There isn't a guide for deploying this to Cloud Run. The best guide is using Docker in the README.
Trying to deploy to Cloud Run fails for multiple reasons:
There isn't an example Dockerfile
There aren't instructions for deploying the GCP
@bshaffer have you been able to deploy this framework onto Cloud Run?
The text was updated successfully, but these errors were encountered:
I'm closing this since the issue filed was for "Instructions for Cloud Run". If you find an issue with the current instructions/implementation, please open a new bug!
In order to use this functions framework, there should be instructions on how to deploy this container to Cloud Run.
When I tested, I wasn't able use the example Dockerfile.
https://github.com/GoogleCloudPlatform/functions-framework-php/blob/master/examples/hello/Dockerfile
Expected
Here are example of guides for instructions for Cloud Run with other function frameworks:
I expected to find a similar guide for the PHP Functions Framework. This would be useful for all developers wishing to use this package with Google Cloud.
Example Section: Deploy a Container
You can deploy your containerized function to Cloud Run by following the Cloud Run quickstart.
Use the
docker
andgcloud
CLIs to build and deploy a container to Cloud Run, replacing the project id$GOOGLE_CLOUD_PROJECT
and image namephp-ff
:If you want even more control over the environment, you can deploy your container image to Cloud Run on GKE. With Cloud Run on GKE, you can run your function on a GKE cluster, which gives you additional control over the environment (including use of GPU-based instances, longer timeouts and more).
Actual
There isn't a guide for deploying this to Cloud Run. The best guide is using Docker in the README.
Trying to deploy to Cloud Run fails for multiple reasons:
Dockerfile
@bshaffer have you been able to deploy this framework onto Cloud Run?
The text was updated successfully, but these errors were encountered: