Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitlynmichael authored Mar 7, 2024
1 parent bce8d75 commit 2c88fc0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/kubernetes/networking/ingressorroutespec.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ An Ingress is an API resource that provides a standardized and flexible way to m

Redis Enterprise for Kubernetes supports the Ingress controllers below:
* [HAProxy](https://haproxy-ingress.github.io/)
* [NGINX](https://kubernetes.github.io/Ingress-nginx/)
* [NGINX](https://kubernetes.github.io/ingress-nginx/)
* [Istio](https://istio.io/latest/docs/setup/getting-started/)

OpenShift users can use [routes]({{<relref "/kubernetes/networking/routes.md">}}) instead of an Ingress.
Expand Down Expand Up @@ -61,17 +61,17 @@ Edit the RedisEnterpriseCluster (REC) spec to add the `ingressOrRouteSpec` field
* Define the REC API hostname (`apiFqdnUrl`) and database hostname suffix (`dbFqdnSuffix`) you chose when configuring DNS.
* Set `method` to `ingress`.
* Set `ssl-passthrough` to "true".
* Add any additional annotations required for your ingress controller. See [NGINX docs](https://docs.nginx.com/nginx-ingress-controller/configuration/ingress-resources/advanced-configuration-with-annotations/) or [HAproxy docs](https://www.haproxy.com/documentation/kubernetes/latest/community/configuration-reference/ingress/) for more information.
* Add any additional annotations required for your ingress controller. See [NGINX docs](https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/) or [HAproxy docs](https://haproxy-ingress.github.io/docs/configuration/keys/) for more information.

```sh
kubectl patch rec <rec-name> --type merge --patch "{\"spec\": \
{\"ingressOrRouteSpec\": \
{\"apiFqdnUrl\": \"api-<rec-name>-<rec-namespace>.example.com\", \
\"dbFqdnSuffix\": \"-db-<rec-name>-<rec-namespace>.example.com\", \
\"ingressAnnotations\": \
{\"kubernetes.io/ingress.class\": \
{\"<kubernetes | github>.io/ingress.class\": \
\"<ingress-controller>\", \
\"<ingress-controller>.ingress.kubernetes.io/ssl-passthrough\": \ \"true\"}, \
\"<ingress-controller-annotation>/ssl-passthrough\": \ \"true\"}, \
\"method\": \"ingress\"}}}"
```

Expand Down

0 comments on commit 2c88fc0

Please sign in to comment.