Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Serverless Computing with Google Cloud

You're reading from   Hands-On Serverless Computing with Google Cloud Build, deploy, and containerize apps using Cloud Functions, Cloud Run, and cloud-native technologies

Arrow left icon
Product type Paperback
Published in Feb 2020
Publisher Packt
ISBN-13 9781838827991
Length 320 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Richard Rose Richard Rose
Author Profile Icon Richard Rose
Richard Rose
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Section 1: App Engine
2. Introducing App Engine FREE CHAPTER 3. Developing with App Engine 4. Section 2: Google Cloud Functions
5. Introducing Lightweight Functions 6. Developing Cloud Functions 7. Exploring Functions as a Service 8. Cloud Functions Labs 9. Section 3: Google Cloud Run
10. Introducing Cloud Run 11. Developing with Cloud Run 12. Developing with Cloud Run for Anthos 13. Cloud Run Labs 14. Section 4: Building a Serverless Workload
15. Building a PDF Conversion Service 16. Consuming Third-Party Data via a REST API 17. Assessments 18. Other Books You May Enjoy

Deploying Cloud Run on GKE

Now that we know how to create an image of an application, how does that translate to running an image on GKE? Fortunately, we already know how to deploy a container on Cloud Run, which means we know most of what is required for deployment on GKE.

From an external perspective, we interact with the Cloud Run service URL. Internally, when running on GKE, there is actually a lot more going on in the background. However, we will focus on how to replicate our application when running as a service.

Provisioning a GKE cluster

Before we can deploy our application onto Cloud Run on GKE, we need to create a GKE cluster. So, let's begin:

  1. In this example we use the standard cluster definition. So, create...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image