Create a namespace for your AI model on MicroShift

Create a namespace for your AI model and all other resources. Namespaces offer resource isolation, resource management, and access control.

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>

    where:

    <namespace_name>

    Specifies the namespace name to use. In the following examples, ai-demo is used.

Verification
  • Verify that you created the namespace by running the following command:

    $ oc get ns <namespace_name>

    where:

    <namespace_name>

    Specifies the namespace name you want to use. In the following examples, ai-demo is used.

    Example output
    NAME                STATUS  AGE
    ai-demo             Active  1h