kubectl create namespace
kubectl config set-context --current --namespace=my-namespacekubectl config set-context --current --namespace=<insert-namespace-name-here>
# Validate it
kubectl config view --minify | grep namespace:# cli
kubectl create ns test-namespace
# or in yaml
---
apiVersion: v1
kind: Namespace
metadata:
name: test-namespace# Create Namespace in current cluster
kubectl create namespace my-namespace# Get Namespaces for current cluster
kubectl get namespaces
Also in C++:
- how to remove user from the group
- git pull remote branch all
- kubectl install ubuntu 20.04
- install apollo server
- install en_web_core md
- how download google drive file with wget
- update gitcmd
- install postman in ubuntu
- open chrome without web security mac
- undo git commit after push
- lsof port
- linux high load send mail
- docker compose install centos 8
- total disk space in linux
- find jpg or png
- how to install helm in ubuntu
- fix vscode font for terminal linux powerlevel10k
- add github repo
- ubuntu bluetooth not working
- vscode for ubuntu linux
- how to join any cluster redis
- terraform state
- how log in kali linux
- git bypass hook