Answers for "kubernetes check current namespace"


kubernetes get namespace

# Get Namespaces for current cluster
kubectl get namespaces
Posted by: Guest on October-20-2020

kubernetes check current namespace

# Create NS
kubectl create namespace my-namespace
# Select NS
kubectl config set-context --current --namespace=my-namespace
# Check current NS
kubectl config view | grep namespace
Posted by: Guest on June-04-2021

Code answers related to "kubernetes check current namespace"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language