10. Red Hat PAM Operator on OpenShift 4
In this lab we will use the enhanced Business Automation Operator 7.10+ to deploy a number of Red Hat Process Automation Manager environments on OpenShift 4.
10.1 Goal
- Install the Business Automation Operator on OCP 4.
- Use the Business Automation Operator 7.10 to deploy a number of Process Automation Manager environments.
- Change the KIE-App deployment CRDs to show reconciliation.
- Change Operator ConfigMaps to make advanced configuration changes to the KIE-App.
11. Problem Statement
In this lab, the goal is to provision and manage various Red Hat Process Automation Manager architectures using the Business Automation Operator on OpenShift 4.
- We deploy an RHPAM Trial environment, which is a basic ephemeral environment that does not require any form of storage (e.g. persistent volume, database).
- We explore Operator reconciliation features by removing provisioned resources like Services and Deployment Configs.
- We alter the deployment through the Operator to show how the provisioned environment changes.
- We change a KIE configuration parameter in the Business Automation Operator ConfigMap to demonstrate advanced configuration changes.
- We provision a more sophisticated Production environment, to show creation of PVCs, deployment of databases and integration with RHPAM Smart Router.
- We use the Operator Installer console to install a new KIE-App deployment.
11.1 First steps
If you are using your own OpenShift environment, follow the steps below to create a project and install the operator. If you are trying this lab in an environment provisioned by the Red Hat team, skip to the section Inspect the Lab environment
.
-
Create a new project in OpenShift. We suggest the name
rhpam710-operator-lab-user1
. -
Navigate to
Operators
,Operator Hub
, and search forBusiness Automation
: -
Click on the Business Automation and then, click
Install
. -
You can select the following options, and click on
Submit
: -
Once subscribed, you should wait for the operator to get provisioned. Then you can proceed with the lab.
11.2 Inspect the Lab environment
If you attending to an enablement with a provisioned environment. We provisioned an environment where each user already has a subscription to the Business Automation Operator. These Operator subscriptions are managed by the OpenShift cluster admin.
- Navigate to the OpenShift Master url.
-
Login to the platform with the provided username and password.
-
Open the project
rhpam710-operator-lab-userX
. Open the Workloads tab. Observe that thebusiness-automation-operator
has already been provisioned to your project. This has been done by the cluster-admin by subscribing your project to the Business Automation Operator. -
Expand the Operators menu group in the left-hand-side of the screen and click on Installed Operators. This will show the installed Operators, or Operator Subscriptions, in your OpenShift namespace.
-
Click on Business Automation to access the Business Automation Operator instance in your project.