Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

kubectl change namespace

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

kubectl create namespace

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

kubectl get namespace

kubectl get namespace
or
kubectl get ns
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 :: how to update composer in laravel 
Shell :: build docker file with no cache 
Shell :: cmd delete folder and all contents 
Shell :: install docker linux 
Shell :: git move head to specific branch 
Shell :: appimage 
Shell :: docker image tar import 
Shell :: find only files linux 
Shell :: error eacces permission denied mkdir xampp ubuntu 
Shell :: terraform install on ubuntu 
Shell :: how to reset ubuntu 20.04 
Shell :: start logstash 
Shell :: anbox install google play store 
Shell :: right click touchpad ubuntu budgie 
Shell :: replace word in file linux command 
Shell :: grep last word in line 
Shell :: docker logs path var logs 
Shell :: how to install node using nvm 
Shell :: helm add stable hub 
Shell :: react-darkmode-toggler 
Shell :: how to compile 64 bit nasm 
Shell :: git delete all local branches starting with 
Shell :: bash file comment 
Shell :: chown command 
Shell :: install automapper asp.net core mvc 
Shell :: github oauth 2 
Shell :: git delete stash 
Shell :: watch tail file linux 
Shell :: github comment code block new line 
Shell :: install vault 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =