00 Verify Cluster
01. Installing Kind¶
- If you don’t have an existing cluster you can use google cloud for the labs hands-on
-
Click on the button below to be able to run the labs on Google Shell
[Use: CTRL + click to open in new window] -
Run the following commands based on your operating system:
02. Create Kind cluster¶
- You should see an output like this:
Creating cluster "kind" ...
• Ensuring node image (kindest/node:v1.27.3) 🖼
• Preparing nodes 📦
• Writing configuration 📜
• Starting control-plane 🕹️
• Installing CNI 🔌
• Installing StorageClass 💾
Set kubectl context to "kind-kind"
You can now use your cluster with:
kubectl cluster-info --context kind-kind
Thanks for using kind! 😊
03. Check the Kind cluster status¶
- You should see output similar to this one:
Kubernetes control plane is running at https://127.0.0.1:6443
CoreDNS is running at https://127.0.0.1:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
04. Verify that the cluster is up and running¶
- Verify that
kubectlis installed and configured
- You should get something like the following
apiVersion: v1 clusters: - cluster: certificate-authority-data: DATA+OMITTED server: https://127.0.0.1:6443 name: kind-kind contexts: - context: cluster: kind-kind user: kind-kind name: kind-kind current-context: kind-kind kind: Config preferences: {} users: - name: kind-kind user: client-certificate-data: REDACTED client-key-data: REDACTED
05. Verify that you can “talk” to your cluster¶
- You should see output similar to this: