Skip to content
This repository was archived by the owner on Feb 8, 2023. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Namespaces

Update createNamespace.yaml with what your namespace to be

Create your namespace

kubectl create -f ./createNamespace.yaml

Verify your namespace exists

$ kubectl get namespaces
NAME          STATUS    AGE
default       Active    1d
kube-system   Active    1d
kube-public   Active    1d

Set your namespace to the default

$ kubectl config set-context $(kubectl config current-context) --namespace=<insert-namespace-name-here>
# Validate it
$ kubectl config view | grep namespace: