The most direct way to create a namespace is through the command-line interface. The Basic Command
This command should display a list of nodes in your cluster. create namespace kubectl
kubectl create namespace my-app --dry-run=client -o yaml The most direct way to create a namespace
To view detailed information about a specific namespace: create namespace kubectl