In this guide
- Stand up a local OpenShift cluster with Red Hat OpenShift Local
- Install the IBM App Connect Operator with Helm
- Prepare the cluster and registry credentials
- Deploy an ACE Dashboard with the AI Agent enabled
1. OpenShift / Kubernetes
For this guide I'll use Red Hat OpenShift Local, which lets you run an OpenShift cluster on your own machine. To get it, head to Red Hat OpenShift Local on Red Hat Developer and click Install OpenShift on your laptop. You'll be given a link to download the installer — make sure you choose the correct architecture for your MacBook.
Even if your Mac is based on Apple silicon (ARM), you can still use CRC to try the App Connect Operator. Running in this mode isn't supported for production, but it's a great way to get an introduction to the offering.
Run crc setup to prepare your host operating system for the OpenShift Local virtual machine. Then start your cluster with crc start to create a minimal OpenShift 4 cluster on your computer.
TERMINAL
crc setup
crc start
A couple of adjustments to the disk and memory are needed for the operator to run. Apply them with:
TERMINAL
oc login -u kubeadmin https://api.crc.testing:6443crc config set disk-size 50
crc config set memory 14000
If you don't have the oc command, it can be downloaded from the OpenShift command-line tools page (or from the Command line tools link in your OpenShift web console). Once the cluster is up, open the OpenShift UI using the URL https://console-openshift-console.apps-crc.testing.
2a. Prepare the cluster
Create a new project for the operator and operands, and point the CLI at the new namespace:
TERMINAL
oc new-project ace
Next, create an image pull secret in that namespace. It authenticates to the IBM Entitled Registry where the images are stored, so the Operator images can be pulled.
You can skip this step and create the pull secret after the Operator is installed. The Operator install itself doesn't require a pull secret, but you'll need one to pull the App Connect component images afterwards.
First, obtain an entitlement key to pull App Connect images:
- Log in to the IBM Container software library with the IBMid associated with your entitled software.
- Click Get entitlement key (or Add new key), then Copy. If you already have a key, just click Copy.
- Save the entitlement key for the next step.
Then create the pull secret. Name it ibm-entitlement-key, use cp as the username, your entitlement key as the password, and cp.icr.io as the Docker server:
TERMINAL
kubectl create secret docker-registry ibm-entitlement-key \
--docker-server="cp.icr.io" \
--docker-username=cp \
--docker-password="myEntitlementKey"
2b. Installing the Helm chart
Add the IBM Helm chart repository to your local repository list:
TERMINAL
helm repo add ibm-helm https://raw.githubusercontent.com/IBM/charts/master/repo/ibm-helm
Once it completes you can search the charts and run helm repo update to refresh chart information. Now install the Operator, using --set flags to override defaults in values.yaml:
TERMINAL
helm install ibm-appconnect ibm-helm/ibm-appconnect-operator \
-n ace \
--set namespace="ace" \
--set operator.installMode="OwnNamespace" \
--set operator.forceAmd64="true"
Verify the deployment:
You should see output similar to:
NAME NAMESPACE REVISION STATUS CHART APP VERSION
ibm-appconnect ace-helm 1 deployed ibm-appconnect-operator-13.3.0 13.3.0
TERMINAL
kubectl get pods
You should see output similar to:
NAME READY STATUS RESTARTS AGE
ibm-appconnect-5ff87d696b-bgvxg 1/1 Running 0 2m31s
3. Deploy the ACE Dashboard
First, create a secret holding the Agent credentials. Save the following to a file, then apply it with oc apply -f <file>.
YAML — ace-agents-configuration
kind: Secret
apiVersion: v1
metadata:
name: ace-agents-configuration
stringData:
WATSONX_API_KEY: <WatsonX API Key>
WATSONX_HOST_URL: https://us-south.ml.cloud.ibm.com
WATSONX_PROJECT_ID: <WatsonX Project ID>
type: Opaque
Now create a YAML file for the Dashboard and deploy it:
YAML — dashboard
apiVersion: appconnect.ibm.com/v1beta1
kind: Dashboard
metadata:
name: dashboard
spec:
version: '13.0'
license:
accept: true
license: L-CGSU-AUCFFB
use: AppConnectEnterpriseNonProductionFREE
storage:
type: ephemeral
size: 1Gi
replicas: 1
authentication:
integrationKeycloak:
enabled: false
authorization:
integrationKeycloak:
enabled: false
api:
enabled: true
Check whether the Dashboard is ready:
TERMINAL
oc get Dashboard
Once it reports a Ready state, open the Dashboard at https://dashboard-ui-ace.apps-crc.testing.
You can now open the AI Agent by clicking the icon in the bottom-right of the Dashboard.
For more on remote administration, refer to the App Connect documentation.
NOTE: Using the Remote Administration capability can be tricky due to the networking on Openshift Local. The url used in the cluster won't work from external endpoints.
NOTE: Running CRC locally is intended for evaluation and learning — it isn't a supported production configuration, but it's a fast way to explore the App Connect AI Agent end to end.