kubectl get pods
# This command returns all pods in default namespace
- All namespaces have some pods, services, deployments running.
kubectl get pods -n kube-system
# Get pods running in "kube-system" namespace
- Every pod is a part of a namespace. Namespace is a logical segregation of resources in K8s Cluster so that different development team have access to specific resources required by them.

kubectl create namespace backend-team

- Set default namespace as backend-team
kubectl config set-context --current --namespace=backend-team