diff --git a/episodes/04-cluster.md b/episodes/04-cluster.md index 514fa58..e758222 100644 --- a/episodes/04-cluster.md +++ b/episodes/04-cluster.md @@ -59,7 +59,7 @@ If you worked through Section 03, you have a secondary boot disk image available ## Get the code -The example Terraform scripts and Argo Workflow configuration are in +The example Terraform scripts and Argo Workflow configuration are in https://github.com/cms-dpoa/cloud-processing/tree/main/standard-gke-cluster-gcs-imgdisk Get them with @@ -100,18 +100,29 @@ and confirm "yes". ## Connect to the cluster and inspect +Once the cluster is created - it will take a while - connect to it with + ```bash gcloud container clusters get-credentials --region europe-west4-a --project ``` +You can inspect the cluster with `kubectl` commands, for example the nodes: + + ```bash kubectl get nodes ``` +and the namespaces: + ```bash kubectl get ns ``` +You will see several namespaces, and most of them are used by Kubernetes for different services. We will be using the `argo` namespace. + +For more information about `kubectl`, check the [Quick Reference](https://kubernetes.io/docs/reference/kubectl/quick-reference/) and the links therein, or use the `--help` option with any of the `kubectl` commands. +