This guide provides instructions for setting up a Runtime Fabric (RTF) on OpenShift. It includes both automated steps using provided scripts and manual steps to be followed. RTF is a deployment option for Mule runtimes that allows you to run Mule applications in a self-managed infrastructure.
Before proceeding with the automated steps, make sure you meet the following prerequisites:
- An active OpenShift cluster
- OpenShift CLI installed and configured
- Cluster-admin role assigned to the logged-in user
- Runtime Fabric Operator installed in the OpenShift cluster
license_rh_org.lic
file downloaded from https://anypoint.mulesoft.com/ and available locallygit
installed on the local machine
To quickly set up the Runtime Fabric on OpenShift, follow these steps:
-
Download the quickstart script:
curl -OL https://raw.githubusercontent.com/tosin2013/mule-rtf-openshift/main/installing-rtf-openshift/quickstart.sh chmod +x quickstart.sh
-
Run the script:
./quickstart.sh
-
Deploy Application
To clean up the Runtime Fabric deployment, follow these steps:
-
Download the cleanup script:
curl -OL https://raw.githubusercontent.com/tosin2013/mule-rtf-openshift/main/installing-rtf-openshift/cleanup-env.sh chmod +x cleanup-env.sh
-
Run the script:
./cleanup-env.sh
Follow the manual steps listed below to create and configure the Runtime Fabric on OpenShift.
Creating Runtime Fabric RTF on OpenShift
If you encounter the error message "Couldn't validate license key!", make sure that the license value in the RuntimeFabric Instance YAML file matches the base64-encoded value of the MuleSoft license.