{
  "id": "networking",
  "title": "Networking",
  "url": "https://redis.io/docs/latest/operate/kubernetes/7.8.4/networking/",
  "summary": "",
  "content": "\nRedis Enterprise for Kubernetes supports several ways to route external traffic to your RedisEnterpriseCluster:\n\n- Ingress controllers [HAProxy](https://haproxy-ingress.github.io/) and [NGINX](https://kubernetes.github.io/ingress-nginx/) require an `ingress` API resource.\n- [Istio](https://istio.io/latest/docs/setup/getting-started/) requires `Gateway` and `VirtualService` API resources.\n- OpenShift uses [routes]() to route external traffic.\n- The RedisEnterpriseActiveActiveDatabase (REAADB) requires any of the above routing methods to be configured in the RedisEnterpriseCluster (REC) with the `ingressOrRouteSpec` field.\n\n## External routing using Redis Enterprise for Kubernetes\n\nEvery time a RedisEnterpriseDatabase (REDB), Redis Enterprise Active-Active database (REAADB), or Redis Enterprise cluster (REC) is created, the Redis Enterprise operator automatically creates a [service](https://kubernetes.io/docs/concepts/services-networking/service/) to allow requests to be routed to that resource.\n\nRedis Enterprise supports three [types of services](https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types) for accessing databases: `ClusterIP`, `headless`, or `LoadBalancer`.\n\nBy default, the operator creates a `ClusterIP` type service, which exposes a cluster-internal IP and that can only be accessed from within the K8s cluster. For requests to be routed from outside the K8s cluster, you need an [Ingress](https://kubernetes.io/docs/concepts/services-networking/ingress/) (or [route](https://docs.openshift.com/container-platform/4.12/networking/routes/route-configuration.html) if you are using OpenShift). See [kubernetes.io](https://kubernetes.io/docs/) for more details on [Ingress](https://kubernetes.io/docs/concepts/services-networking/ingress/) and [Ingress controllers](https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/).\n\n* To use NGINX or HAProxy Ingress controllers, see [Ingress routing]().\n* To use OpenShift routes, see [OpenShift routes]().\n* To use Istio as an Ingress controller, see [Istio Ingress routing]()\n\n## `ingressOrRouteSpec` for Active-Active databases\n\nVersions 6.4.2 or later of Redis Enterprise for Kubernetes include a feature for ingress configuration. The `ingressOrRouteSpec` field is available in the RedisEnterpriseCluster spec to automatically create an Ingress (or route) for the API service and databases (REAADB) on that REC. See [REC external routing]() for more details.\n\nThis feature only supports automatic Ingress creation for Active-Active databases created and managed with the RedisEnterpriseActiveActiveDatabase (REAADB) custom resource. Use with the standard Redis Enterprise database (REDB) is not currently supported.\n\n## REC domain name\n\nThe RedisEnterpriseCluster does not support custom domain names. Domain names for the REC are in the following format: `\u003crec-name\u003e.\u003cnamespace\u003e.svc.cluster.local`.\n",
  "tags": ["docs","operate","kubernetes"],
  "last_updated": "2026-04-08T12:21:52-07:00",
  "children": [{"id":"ingress","summary":"Configure an ingress controller to access your Redis Enterprise databases from outside the Kubernetes cluster.","title":"Configure Ingress for external routing","url":"https://redis.io/docs/latest/operate/kubernetes/7.8.4/networking/ingress/"},{"id":"routes","summary":"","title":"Use OpenShift routes for external database access","url":"https://redis.io/docs/latest/operate/kubernetes/7.8.4/networking/routes/"},{"id":"istio-ingress","summary":"Configure Istio as an ingress controller for access to your Redis Enterprise databases from outside the Kubernetes cluster.","title":"Configure Istio for external routing","url":"https://redis.io/docs/latest/operate/kubernetes/7.8.4/networking/istio-ingress/"},{"id":"ingressorroutespec","summary":"","title":"Establish external routing on the RedisEnterpriseCluster","url":"https://redis.io/docs/latest/operate/kubernetes/7.8.4/networking/ingressorroutespec/"}]
}

