Explore the Lab Environment
We will begin with a quick tour of the lab environment. This lab consists of a multi-node kubernetes cluster which has been deployed exclusively for you. This is a sandbox environment. Feel free to play around. The lab session will expire in 60 minutes.
Before we begin, wait for the kubernetes cluster to load. This is a 4 node cluster and it can take a couple of minutes before the cluster is ready. Check status:
Check the K8s Status
Q1: How many master nodes do you see in the cluster?
kubectl get nodes
Check the k8s version
Q2: What is the version of Kubernetes installed in this environment?
k8 Cluster Info
Q3: What port is the kube-apiserver running on?
Pods in the default namespace
Q4: Are there any pods running on the default name space?
kubectl get pods
Q5: What is the name of the dns deployment in the cluster?
Q6: How many replicas are configured for this deployment?
kubectl -n kube-system get deployments -l k8s-app=kube-dns
Q7. Is portworx currently installed on this cluster?
kubectl get all --all-namespaces | grep -i portworx