Namespaces in K8s
Namespaces let you divide one cluster into multiple virtual clusters.
You can use namespaces to separate:
dev / staging / production environments
2. Different teams in one cluster
Different applications
Common commands:
kubectl get namespaces
kubectl create namespace dev
kubectl get pods -n dev (#Get pods in the dev namespace)