What happened to Cloud Run for GKE?

10/28/2019

Several resources on the web point to the existence of Cloud Run for GKE. For example, this Google codelabs, this YouTube video from Google and this LinkedIn training video.

However the Cloud Run for GKE functionality seems to have disappeared when you try to create a new Kubernetes cluster, using the Google Cloud web console. The checkboxes to enable Istio and Cloud Run for GKE underneath "Additional features" are not available anymore. (see 3:40 on this LinkedIn video tutorial)

The official documentation about Cloud run for GKE also seems to have disappeared or changed and replaced with documentation about Cloud Run on Anthos.

So, in short, what happened to Cloud Run for GKE?

-- Hyperfocus
google-cloud-platform
google-kubernetes-engine
kubernetes

3 Answers

10/28/2019

You first need to create a GKE cluster and then when creating cloud run choose CloudRun for Anthos so, it's not really gone anywhere.

Here it is!

If it was greyed out, that was probably because you had to tick "enabled stackdriver..."

-- DuDoff
Source: StackOverflow

10/28/2019

I think it is just a change of words and not functionality.

If you check this documentation out you'll see it specifically says:

This guide shows how to set up a new Google Kubernetes Engine cluster with Cloud Run for Anthos on Google Cloud enabled.

It starts off with creating a GKE cluster which has two ways:

  1. Using GCP console
  2. Using gcloud command-line tool

I prefer gcloud command-line tool using which you need the following command to create a cluster:

gcloud beta container clusters create CLUSTER_NAME \
--addons=HorizontalPodAutoscaling,HttpLoadBalancing,Istio,CloudRun \
--machine-type=n1-standard-4 \
--cluster-version=GKE_VERSION
--enable-stackdriver-kubernetes \
--scopes cloud-platform

If you look closely at the add-ons, you will see it has Istio and CloudRun. The most important flag here is --enable-stackdriver-kubernetes, you would have to enable Stackdriver for Kubernetes in order to move forward.

Looking at your question, I believe you are using GCP Console. The same should be done via console. If you choose the appropriate version of GKE, it will give you options to enable Istio ad well as Cloud Run.

Initially, the checkbox to Enable Cloud Run for Anthos (beta) will be grayed out if Enable legacy Stackdriver Logging service and Enable legacy Stackdriver Monitoring service is enabled Enable Stackdriver Kubernetes Engine Monitoring disabled.

So firstly select Enable Stackdriver Kubernetes Engine Monitoring and now after selecting Enable Istio (beta), you should see the checkbox for Enable Cloud Run for Anthos (beta) working.

Here is the list of available GKE versions for Cloud Run.

If you follow the guide carefully, you will simply be able to create a GKE cluster and deploy a Hello World application on Cloud Run for Anthos (GKE).

I hope this helps!!

-- Amit Yadav
Source: StackOverflow

10/28/2019

Cloud Run for GKE did not disappear but it was simply renamed to "Cloud Run for Anthos".

Initially I thought Anthos was a technology for multicloud environments, but it seems to be more of a "brand name".

The answer is that Anthos is not really a technology, but more of a brand, a wrapper around Google's cloud crown jewels, Kubernetes (K8s).

This is quoted from this post on TheRegister.

-- Hyperfocus
Source: StackOverflow