Creating a namespace for InfoSphere MDM

By default, the InfoSphere® MDM YAML files use the namespace com-ibm-mdm. If needed, you can customize the Kubernetes namespace.

About this task

The file mdm-namespace.yml creates the namespace com-ibm-mdm. See the topic YAML files and scripts for deploying InfoSphere MDM on OpenShift or Kubernetes to download an archive containing mdm-namespace.yml. You can modify this file to create a custom namespace.

When you create a custom namespace, you must ensure that the metadata.namespace is changed appropriately in all of the YAML files being used. All Kubernetes resources created using YAML files or the command line need to align under the same namespace. When a value is not provided for metadata.namespace, the default value is used.

Procedure

  • If you wish to use the default namespace (com-ibm-mdm), run mdm-namespace.yml to create the Kubernetes namespace.
    kubectl create -f mdm-namespace.yml
  • If you wish to customize the namespace:
    1. Edit mdm-namespace.yml to modify the namespace value.
    2. Run mdm-namespace.yml to create the Kubernetes namespace.
      kubectl create -f mdm-namespace.yml
    3. Ensure that the metadata.namespace value is updated in all of the YAML files being used.