Setup Google Kubernetes Engine#
It’s time to setup a production Kubernetes cluster. You will use this cluster from now on in the class. There are many ways to create your own Kubernetes cluster. I host my Jupyter server for CIS-15 on a cluster of machines running Microk8s. You can do this with any cloud provider. Google also has managed Kubernetes called Google Kubernetes Engine (GKE). With GKE Google operates the nodes for you. GKE has two modes standard and autopilot. The autopilot mode is the easiest and the cheapest! If you don’t have any workloads then GKE Autopilot scales to zero, meaning you don’t get charged.
Create an Autopilot Cluster#
Follow the official Google quickstart for GKE Autopilot
If you followed it you should be able to run this from your dev environment:
$ kubectl get all
(Optional) Cloud Console#
There’s a great walkthrough for Google cloud console. It allows you to create a Django example app which is pretty helpful.