Runtime Fabric Setup
This guide explains how to deploy MuleSoft Runtime Fabric on AWS EKS or GCP GKE. Before proceeding, ensure your Kubernetes cluster environment is properly prepared to support Runtime Fabric workloads.
Create a Namespace
First, create a namespace for installing Runtime Fabric components with rtf-
as a prefix:
This namespace will contain all Runtime Fabric components and services.
Pulling Runtime Fabric Component Docker Images
Create a secret for pulling Runtime Fabric component Docker images from the registry:
kubectl create secret docker-registry rtf-pull-secret --namespace <rtf-namespace> --docker-server=rtf-runtime-registry.kprod.msap.io --docker-username=<username-generated-by-Anypoint> --docker-password=<password-generated-by-Anypoint>
Copy and paste this command from the RTF Cluster creation page in Anypoint Platform. For local registry configuration, refer to the documentation.
Add Runtime Fabric Helm Repository
Add the Runtime Fabric Helm repository for pulling agent charts:
helm repo add rtf https://rtf-runtime-registry.kprod.msap.io/charts --username <username-generated-by-Anypoint> --password <password-generated-by-Anypoint>
This command should be copied from the RTF Cluster creation page.
Configure values.yaml
Convert Mule License .lic
File to Base64
To complete the values.yaml
file, convert the license file to base64:
For Windows PowerShell:
This encoded license will be included in your values.yaml configuration.
Example values.yaml
Copy and paste the base64 license value into the file and complete the fields:
This configuration controls the Runtime Fabric installation parameters.
Install Runtime Fabric
Install Runtime Fabric into your Kubernetes cluster using the configured values.yaml
file:
Allow up to 5 minutes for your Runtime Fabric to be installed and registered. Once registered, it will appear in your Anypoint Platform environment.
Creating Namespaces for Application Deployments
When you deploy an application into an Anypoint Platform environment, Runtime Fabric creates a default namespace using the environment's identifier. However, you can create custom namespaces for application deployments.
Create a Namespace for Applications
To deploy Mule applications, create an app-namespace
for each installed agent:
app-namespace.yaml | |
---|---|
Apply the configuration to your Kubernetes cluster:
Value | Description |
---|---|
<app-namespace> |
Name of the namespace hosting the Mule apps |
<rtf-namespace> |
Name of the namespace containing the RTF Agent |
<environment_id> |
Environment ID |
<org_id> |
Business Group ID |
After these steps, any application deployed into the specified Anypoint Platform environment will be created inside the
<app_namespace>
by the RTF agent running in the<rtf_namespace>
.
For more detailed information, consult the official documentation.