Customize your Mule application deployments for specific use cases.
Deploy to a Specific Namespace
You can deploy applications to any Kubernetes namespace. Create the namespace and label it with the Runtime Fabric namespace:
kubectl create namespace production-apps
kubectl label namespace production-apps rtf.mulesoft.com/agentNamespace=<rtf-namespace>
kubectl apply -f my-app.yaml -n production-apps
The controller watches namespaces that are labeled with rtf.mulesoft.com/agentNamespace: <rtf-namespace>, where <rtf-namespace> is the namespace where the Runtime Fabric core software is installed. The agent running in that namespace manages Mule application CRs in the labeled application namespace.
Deploy with Custom Logging
Configure package-level logging for troubleshooting:
spec:
scopeLoggingConfigurations:
- scope: com.mulesoft
logLevel: DEBUG
- scope: org.mule.extension.http
logLevel: INFO
- scope: root
logLevel: INFO
Deploy with JVM Arguments
Specify custom JVM arguments for memory tuning or SSL configuration:
spec:
jvmArgs:
- "-Xmx2048m"
- "-Xms1024m"
- "-Djavax.net.ssl.keyStore=/var/tls/keystore.jks"
Deploy with Node Affinity
Control which nodes run your application:
spec:
pod:
nodeSelector:
environment: production
disktype: ssd
tolerations:
- key: "dedicated"
operator: "Equal"
value: "mule-apps"
effect: "NoSchedule"