Preparing the Installation
In order to install the CP4AIOPS Operator you first have to create the following resources:
- Namespace
- OperatorGroup
- IBM Pull Secret (Entitlement)
π TASK: Create the Namespace
Create a namespace called ibm-aiops
.
π TASK: Create the Operator Group
Create the Operator Group
as described in the Documentation.
Create the OperatorGroup
Create the Operator group by running the following command:
cat << EOF | oc apply -f -apiVersion: operators.coreos.com/v1kind: OperatorGroupmetadata:name: ibm-aiops-operator-groupnamespace: ibm-aiopsspec:targetNamespaces:- ibm-aiops
This creates the
OperatorGroup
needed for the Operator to deploy into theibm-aiops
Namespace
π TASK: Create the Pull Secret
Create the Pull Secret
as described in the Documentation with your Entitlement Key from the MyIBM Container Software Library.
Create the entitlement key pull secret
Log in to MyIBM Container Software Library with the IBMid.
In the Entitlement keys section, select Copy key to copy your entitlement key to the clipboard.
Run the following command:
oc create secret docker-registry ibm-entitlement-key \--docker-username=cp \--docker-password="_entitlement_key_from_step_2_" \--docker-server=cp.icr.io \--namespace=ibm-aiopsWhere
"_entitlement_key_from_step_2_"
is the entitlement key that you copied in the previous step.
This creates the
Secret
with your IBM Entitlement that will allow the images to be pulled from the IBM Container Registry