Skip to content

Commit 4f9474d

Browse files
authored
docs: Cloud Run on GKE -> Cloud Run for Anthos (GoogleCloudPlatform#320)
Also use source deploy instead of Dockerfile
1 parent 3ed43c8 commit 4f9474d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ different environments, including:
88

99
* [Google Cloud Functions](https://cloud.google.com/functions/)
1010
* Your local development machine
11-
* [Cloud Run and Cloud Run on GKE](https://cloud.google.com/run/)
11+
* [Cloud Run](https://cloud.google.com/run/) and [Cloud Run for Anthos](https://cloud.google.com/anthos/run)
1212
* [Knative](https://github.com/knative/)-based environments
1313

1414
The framework allows you to go from:
@@ -162,15 +162,15 @@ After you've written your function, you can simply deploy it from your local
162162
machine using the `gcloud` command-line tool.
163163
[Check out the Cloud Functions quickstart](https://cloud.google.com/functions/docs/quickstart).
164164

165-
### Cloud Run/Cloud Run on GKE
165+
### Cloud Run / Cloud Run for Anthos
166166

167-
Once you've written your function, added the Functions Framework and updated your `start` script in `package.json`, all that's left is to create a container image. [Check out the Cloud Run quickstart](https://cloud.google.com/run/docs/quickstarts/build-and-deploy) for Node.js to create a container image and deploy it to Cloud Run. You'll write a `Dockerfile` when you build your container. This `Dockerfile` allows you to specify exactly what goes into your container (including custom binaries, a specific operating system, and more).
167+
After you've written your function, added the Functions Framework and updated your `start` script in `package.json`, deploy it to Cloud Run with `gcloud run deploy`. Check out the [Cloud Run quickstart for Node.js](https://cloud.google.com/run/docs/quickstarts/build-and-deploy/nodejs).
168168
169-
If you want even more control over the environment, you can [deploy your container image to Cloud Run on GKE](https://cloud.google.com/run/docs/quickstarts/prebuilt-deploy-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).
169+
If you want even more control over the environment, you can [deploy to Cloud Run for Anthos](https://cloud.google.com/anthos/run/docs/quickstarts/prebuilt-deploy-gke). With Cloud Run for Anthos, 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).
170170
171171
### Container environments based on Knative
172172
173-
Cloud Run and Cloud Run on GKE both implement the [Knative Serving API](https://www.knative.dev/docs/). The Functions Framework is designed to be compatible with Knative environments. Just build and deploy your container to a Knative environment.
173+
Cloud Run and Cloud Run for Anthos both implement the [Knative Serving API](https://www.knative.dev/docs/). The Functions Framework is designed to be compatible with Knative environments. Just build and deploy your container to a Knative environment.
174174
175175
## Configure the Functions Framework
176176

0 commit comments

Comments
 (0)