EastWest Routing
EastWest routing allows you to easily configure high-availability for internal services across multiple clusters. Currently (TSB 1.6) this feature is disabled by default and will be enabled by default in a future release.
Enable Tier2 Gateway to act as EastWest Gateway in App Cluster
To enable EastWest routing and failover, you will need to
edit xcp
component in ControlPlane
CR or Helm values and add an environment variable ENABLE_ENHANCED_EAST_WEST_ROUTING
with value true
:
spec:
components:
xcp:
...
kubeSpec:
overlays:
- apiVersion: install.xcp.tetrate.io/v1alpha1
kind: EdgeXcp
name: edge-xcp
patches:
...
- path: spec.components.edgeServer.kubeSpec.deployment.env[-1]
value:
name: ENABLE_ENHANCED_EAST_WEST_ROUTING
value: "true"
...
Refer to Multi-cluster traffic failover with EastWest Gateways for how to enable EastWest routing .