1.4. Creating a namespace for your AI model on MicroShift
Create a namespace for your AI model and all other resources.
Prerequisites
- You have root user access to your machine.
-
The OpenShift CLI (
oc) is installed.
Procedure
Create a new namespace by running the following command:
$ oc create ns <namespace_name>1 - 1
- Replace
<namespace_name>with the namespace name you want to use. In the following examples,ai-demois used.
Verification
Verify that you created the desired namespace by running the following command:
$ oc get ns <namespace_name>1 - 1
- Replace
<namespace_name>with the namespace name you want to use. In the following examples,ai-demois used.
Example output
NAME STATUS AGE ai-demo Active 1h