liveBook · Manning

Kubernetes Engine

As explained in Kubernetes for Developers

Google Kubernetes Engine is Google Cloud's managed Kubernetes service.

Google Kubernetes Engine (GKE) is Google Cloud’s managed Kubernetes service for creating a cluster where Kubernetes workloads can run. It offers a mature, relatively easy starting point, while the same Kubernetes examples can transfer to other platforms. section 3.2.1

A usable GKE setup requires:

  • A Kubernetes cluster created through GKE or an equivalent provider. section 3.2.1
  • The kubectl command-line tool installed and authenticated to that cluster. section 3.2.1
  • Provider-specific access arrangements for locally built images and Services, especially where public load balancers are unavailable. section 3.2.1

Create and connect to an Autopilot cluster

Set the cluster name and region, run gcloud container clusters create-auto, then retrieve credentials with gcloud container clusters get-credentials. Verify access with kubectl get pods. section 3.2.1

CLUSTER_NAME=my-cluster
REGION=us-west1
gcloud container clusters create-auto $CLUSTER_NAME --region $REGION
gcloud container clusters get-credentials $CLUSTER_NAME --region $REGION

Shows the compact command sequence for creating a GKE Autopilot cluster and configuring kubectl access. section 3.2.1

How Kubernetes for Developers covers it

How deep it goes
Explains cluster creation and kubectl authentication, but defers workload deployment and platform-specific Service details.
Examples
Uses gcloud initialization, Autopilot cluster creation, credential retrieval, and kubectl get pods.
What it assumes
Assumes basic Kubernetes intent while establishing the cluster and kubectl access required for subsequent examples.
What you can do after
Operate/configure a GKE cluster and authenticate kubectl so Kubernetes examples can run against it.
How it connects
Connects Kubernetes clusters with kubectl authentication and cloud alternatives including OpenShift, AKS, and EKS.

Also explained in

Compare how 3 books explain Kubernetes Engine →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Kubernetes for Developers. The section links point to the parts of the book it draws on.