Creating a namespace

To install the watsonx Assistant for Z operator, you create a namespace first and then create the catalog source.

Procedure

  1. Log in to Red Hat OpenShift CLI (OC) by using your cluster credentials.

    Redhat OpenShift user interface

  2. Obtain the token to login to the command prompt by using one of the following methods:
    1. From the userID drop-down list, for example kube: Admin, which is in the upper-right side of the screen, select Copy login command.
    2. Run the following command to log in by using your token where "token" is your Red Hat OpenShift token and "server URL" is your server URL:
      oc login --token=<token> --server=https://<serverURL>:6443 --insecure-skip-tls-verify
      
  3. Create the namespace by using the following command:
    oc create namespace wxa4z-operator