Kuadrant / Kuadrant/kuadrant-operator
# Set Limitador Replicas
- Dominant language
- Go
- Stars
- 94
- Forks
- 89
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 43
Description
## What
When the `spec.resilience.rateLimiting` feature is enable in the kuadrant CR, the number of replicas needs to be set in the Limitador CR.
The user will be able to modify the number of replicas in the Limitador CR without the Kuadrant-operator reverting the changes.
## Why
The Limitador CR gives us an interface to interact with the deployment replicas without us going, and modifing the deployment directly.
## How
The Limitador CR is part of the topology.
By getting the Limitador CR from the topology, `spec.replicas` can be set.
This is then applied to the cluster.
The default value should be 2.
## Done
- [ ] When `spec.resilience.rateLimiting` is enabled in the kuadrant CR, 2 is set in the Limitador CR `spec.replicas`.
- [ ] When `spec.resilience.rateLimiting` is enabled in the kuadrant CR, 2 instances of Limitador are deployed to the cluster.
Contributor guide
Assessment
This issue has not been assessed yet.