The Rhapsody Systems Engineering images are stored in IBM Entitled Registry. They are pulled
from the registry and used to install the Rhapsody Systems Engineering application in the supported
cluster.
About this task
An image pull secret must be created to pull the container image in the pod. The entitlement key
that is obtained from the registry is used to create the image pull secret. The administrator can
create a new image pull secret. It is used to add the image pull secret to grant access for pods to
pull images from your registry.
Procedure
- To obtain the entitlement key from the registry, complete the following substeps:
- Go to the IBM container software library link.
- Click View library. The Access your container software page
opens.
- To copy the entitlement key in the clipboard, on the Entitlement key section, click
Copy key.
- Paste the entitlement key in a text editor that you use. You are required to provide
the entitlement key when you create the image pull secret.
- To add Rhapsody Systems Engineering to the entitlement key, complete the following
susbteps:
- Go to https://myibm.ibm.com/products-services/containerlibrary.
- Log in by using your IBM ID.
- Click Container software library.
- Click the Self-Nominate form, and then fill the form with
required details.
- Search for Rhapsody Systems Engineering and add it.
- Select the entitlement keys.
- Click Add key, and copy the key to use it for creating the
secret.
- You can create the image by using the supported cluster or by using command line
inputs.
- To create the image pull secret in the Red Hat®
OpenShift® cluster by using the console, complete the
following substeps:
- Log in to the Red Hat
OpenShift cluster platform by using the Red Hat
OpenShift administrator credentials.
- Go to Projects, and select the project where you want to install the
Rhapsody Systems Engineering instance.
- Go to
.
- Select Image Pull Secret from the Create
list.
- On the Create Image Pull Secret page, enter the following details:
- In the Secret Name field, enter
ibm-entitlement-key.
- From the Authentication Type list, select Image registry
credentials.
- In the Registry Server Address field, enter
cp.icr.io/cp.
- In the Username field, enter cp.
- In the Password field, enter the
<entitlement-key> from the text editor.
- In the Email field, enter
<your-email-address>.
- To create the secret by using command line, run the commands for Red Hat OpenShift or
Kubernetes cluster:
- Red Hat OpenShift
-
- To select the project where you want to the Rhapsody Systems Engineering instance, run the
following
command:
oc project <project name>
- Run the following
command:
oc create secret docker-registry ibm-entitlement-key --docker-server = <registry_server> --docker-username = <user_name>--docker-password = <password> --docker-email = <email>
- For more information, see Using image secrets in Red Hat OpenShift.
- Kubernetes
kubectl create secret docker-registry ibm-entitlement-key --docker-server=<your-registry-server> --docker-username=<your-name>--docker-password=<your-password> --docker-email=<your-email>
where
- <your-name> = username. Enter cp as username.
- <your-password> = <entitlement-key-token>
- <your-email> = <your-email-address>
- <your-registry-server> = <your-registry-server>. By
default, the registry server uses
cp.icr.io/cp.