Update createNamespace.yaml with what your namespace to be
Create your namespace
kubectl create -f ./createNamespace.yamlVerify your namespace exists
$ kubectl get namespaces
NAME STATUS AGE
default Active 1d
kube-system Active 1d
kube-public Active 1dSet 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: