Hands-on task
Look around the cluster
This sandbox runs its own Kubernetes cluster, and kubectl is already configured for it. Look around:
- find out the name of the cluster's node and write it to
/root/node.txt; - a pod
stock-counteris running somewhere in the cluster — find out which namespace it lives in and write that namespace's name to/root/namespace.txt.
Each file holds just the name, on one line.
- kubernetes
- kubectl
- kubectl get
- namespace
- node