Verify and Create Kubernetes Namespace

This section explains how user can verify whether a required namespace exists in system or not. CNCC can be installed at NF specific namespaces also.

If namespace does not exist, user must create it.

Procedure

  1. Verify whether the required namespace already exists in system by executing the following command:
     $ kubectl get namespaces
  2. 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 cncc

Note:

Step 2 is an optional step. In case required namespace already exists, proceed with next procedures.