View a Cluster
Learn how to investigate a Kubernetes cluster.
We'll cover the following...
View a cluster
Throughout the course, we’ll install applications and then verify if it was done correctly.
There are multiple
ways of getting insight from a cluster. The most native and simple way is to use the kubectl
command in the terminal. For example, to get a list of namespaces, we run the following command:
Press + to interact
kubectl get namespace
The output will be as follows:
NAME STATUS AGE
default Active 20m
kube-node-lease Active 20m
kube-public Active 20m
kube-system Active 20m
local-path-storage Active 20m
...