Installing IBM Redis

You must install Redis operator if you want to run the IBM Process Mining application with replicas.

  • To deploy and configure Redis, do the following steps:

    1. Deploy the Redis catalog with the following command:
      cat <<EOF | oc apply -f -
      apiVersion: operators.coreos.com/v1alpha1
      kind: CatalogSource
      metadata:
        name: ibm-redis-cp-catalog
        namespace: ${PM_PROJECT}
      spec:
        displayName: ibm-redis-cp-1.4.0
        publisher: IBM
        image: icr.io/cpopen/ibm-redis-cp-operator-catalog@sha256:d194a69150504735f5142099bcb97bd4767cf252dfe0d9fa4bb9fe4f6fb18618
        sourceType: grpc
      EOF
    2. Create a subscription on your namespace with the following command:
      cat <<EOF | oc apply -f -
      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        name: redis-pm-subscription
        namespace: ${PM_PROJECT}
      spec:
        channel: v1.3
        installPlanApproval: Automatic
        name: ibm-redis-cp
        source: ibm-redis-cp-catalog
        sourceNamespace: ${PM_PROJECT}
      EOF
    3. Verify the installation with the following commands:
      oc get operators
      If Redis was installed successfully, you will see the following installed operators:
      NAME                                  AGE
      ibm-redis-cp.<your namespace>         29m
    4. Change your processmining instance configuration with the following settings to connect it to Redis:
      processmining:
        replicas:
          analytics: 2
        storage:
          redis:
            install: true