Verify and Create Kubernetes Namespace
This section explains how user can verify required namespace exists in system or not. If namespace does not exist, user must create it.
Procedure
- Verify whether required namespace already exists in system by
executing the following command:
$ kubectl get namespaces
- If the output of the above command does not display the required
namespace then create the namespace by executing following command:
$ kubectl create namespace <required namespace>
Example:$ kubectl create namespace ocnssf