GKE is Google’s Kubernetes service and layered on top of
Google Compute Engine(aka
GCE) which provides the compute instances.
Note that Container Engine (as referred to in some older documentation) was renamed as Kubernetes Engine back in November 2017.
Note: the submenus have moved as follows:
Compute > Container Engine > Container clusters -> Compute > Kubernetes Engine > Container clusters
Compute > Container Engine > Container Registry (aka Google’s hosted Docker Registry) -> Tools > Container Registry
E.g. spinning up a cluster:
- go to Compute > Kubernetes Engine > Container clusters and Add New
- select a Zone (by the way, interesting how
europe-west1-ais missing. Apparently they took it down for maintenance years ago and never brought it back up! )
- leave Nodes at default: 3 (doesn’t include master – e.g. apiserver and scheduler)
- click Create (note the Equivalent REST or command line links below)
- to see details once created, click your cluster. It should reveal:
- apiserver endpoint IP address
- click Shell icon (top right) to get a Cloud Shell. e.g.
gcloud container clusters list
- click Connect (to right of cluster), paste in shell => configures kubectl to connect to our new cluster. e.g.
kubectl get nodes
- can https to our new endpoint