Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

kubectl change namespace

kubectl config set-context --current --namespace=my-namespace
Comment

kubectl get namespace

kubectl get namespace
or
kubectl get ns
Comment

kubectl create namespace

# Create Namespace in current cluster
kubectl create namespace my-namespace
Comment

kubectl get namespaces command

kubectl get namespace
Comment

Switching the namespaces using kubectl commands

kubectl config set-context --current --namespace=<insert-namespace-name-here>
Comment

PREVIOUS NEXT
Code Example
Shell :: flutter create command 
Shell :: how to shutdown computer using linux 
Shell :: flutter plugin installed but in flutter doctor it shows not installed 
Shell :: ssh config 
Shell :: kubectl create namespace 
Shell :: how to install terraform macos 
Shell :: set cuda path 
Shell :: chrome download for linux 
Shell :: mpeg-4 aac decoder h.264 decoder for ubuntu download 
Shell :: pip3 install from git 
Shell :: dpkg install deb with dependencies 
Shell :: setting git username 
Shell :: how to open text editor in git bash 
Shell :: list all user ubuntu server 
Shell :: server 2012r2 powershell unable to download from URI 
Shell :: error commit is a merge but "no -m" option 
Shell :: run laravel project from github 
Shell :: git merge a file from another branch to current branch 
Shell :: uninstall dependencies yarn 
Shell :: linux free port 8080 
Shell :: Connect to Remote MySQL Database through Command Line 
Shell :: how to install sublime text 3 on ubuntu 20.04 
Shell :: docker starting too long 
Shell :: kill localhost port 
Shell :: pip install graphics 
Shell :: install npm and node on ubuntu 
Shell :: setup wordpress on ubuntu 
Shell :: how to install wsl 2 in windows 10 
Shell :: kubernetes command line to scale down pods 
Shell :: helmfile install ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
8+3 =