Skip to content

Commit

Permalink
Merge pull request #933 from redis/DOC-4605-rdi-nginx-ingress
Browse files Browse the repository at this point in the history
DOC-4605 added ingress controller details
  • Loading branch information
andy-stark-redis authored Dec 2, 2024
2 parents e4bb498 + 84123c8 commit 55e1edc
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,28 @@ collector-api-<id> 1/1 Running 0 29m
You can verify that the RDI API works by adding the server in
[Redis Insight]({{< relref "/develop/tools/insight/rdi-connector" >}}).

## Using ingress controllers

If you want to expose the RDI API service via the K8s
[`Ingress`](https://kubernetes.io/docs/concepts/services-networking/ingress/)
resource, you must ensure that an appropriate
[ingress controller](https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/) is available in your K8s cluster. Follow the documentation of your cloud provider or of
the ingress controller to install the controller correctly.

### Using the `nginx` ingress controller on AKS

On AKS, if you want to use the open source
[`nginx`](https://nginx.org/)
[ingress controller](https://github.com/kubernetes/ingress-nginx/blob/main/README.md#readme)
rather than the
[AKS application routing add-on](https://learn.microsoft.com/en-us/azure/aks/app-routing),
follow the AKS documentation for
[creating an unmanaged ingress controller](https://learn.microsoft.com/en-us/troubleshoot/azure/azure-kubernetes/load-bal-ingress-c/create-unmanaged-ingress-controller?tabs=azure-cli).
Specifically, ensure that one or both of the following Helm chart values is set:

- `controller.service.annotations."service\.beta\.kubernetes\.io/azure-load-balancer-health-probe-request-path"=/healthz`
- `controller.service.externalTrafficPolicy=Local`

## Prepare your source database

You must also configure your source database to use the CDC connector. See the
Expand Down

0 comments on commit 55e1edc

Please sign in to comment.