Please Follow the below steps to Achieve this requirement
Apply a gateway.mulesoft.com/v1alpha1 Configuration Kubernetes resource directly in the RTF app namespace where the Managed Omni Gateway is deployed. The resource must include the rtf.mulesoft.com/target-id label to target the correct gateway instance.
Inspect the gateway pod's environment variables:
FLEX_K8S_SELECTOR=rtf.mulesoft.com/target-id=<your-target-id>
Or check existing ApiInstance resources in the namespace — the rtf.mulesoft.com/target-id label will be present.
apiVersion: gateway.mulesoft.com/v1alpha1
kind: Configuration
metadata:
name: probe
labels:
rtf.mulesoft.com/target-id: <your-target-id>
namespace: <rtf-app-namespace>
spec:
probe:
enabled: true
port: 8888
path: /healthz
Note: Ensure the path does not conflict with any existing API instance base paths. Also Ensure that Port number Which You are using is not used by existing Omni Gateway/Flex Gateway Service
Test the readiness probe endpoint:
Login to Omni Gateway pod
kubectl exec -it <Your Manged gateway Pod ID> -n <Your RTF App Namespace> -- /bin/sh
Hit the endpoint “http://localhost:8888/healthz/probes/readiness?allowEnvoyErrors=true&allowAPIErrors=true&allowPolicyErrors=true”
Example:
wget --spider -S http://localhost:8888/healthz/probes/readiness?allowEnvoyErrors=true&allowAPIErrors=true&allowPolicyErrors=true 2>&1 | grep "HTTP/"
Output:
HTTP/1.1 200 OK
Content-Type: application/json
Date: Sat, 30 May 2026 22:29:43 GMT
Content-Length: 0
server: Anypoint Flex Gateway
connection: close
Note: RTF agent / Omni Gateway does not create a respective service or httproute/ingress object automatically. You can create service and httproute/ingress resources manually if required, based on your RTF / Loadbalancer / WAF setup requirements.
Managed Omnigateway on CloudHub 2 (CH2): There is currently no supported way to configure probes. There is already a Feature request available in Ideas portal here [ https://ideas.salesforce.com/s/idea/a0BHp000017JiUkMAK/support-readinessliveness-probe-configuration-for-managed-omnigateway ], You can Upvote this Idea.
Workaround (Layer 7): Deploying a lightweight "dummy API" on the Flex Gateway can serve as a health check target for external load balancers — though this counts against API usage entitlements.
TCP Probe Alternative: For load balancers that support it, a TCP probe to port 443 can be used as a simpler alternative.
If you have any concerns or any queries on above setup, Please raise an Mulesoft Support case.
005385677

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.