kubeshop / kusk-gen

Kusk Gen generates Ingress-controller configurations from your OpenAPI definition
https://kubeshop.github.io/kusk-gen
MIT License
173 stars 12 forks source link

rate limiting: option to group endpoints #144

Closed dobegor closed 3 years ago

dobegor commented 3 years ago

Describe the enhancement you'd like to see

  1. have an rps and burst parameters, warn user that in case of a split in nginx-ingress these will be applied to each path separately (addressed by #147)
  2. introduce a group parameter (string) which user can use to customise how endpoints are grouped in rate limiting - this is supported both in Ambassador and Traefik
  3. if no group is specified at the global level, treat it as a common rate limit (all endpoints are in the same group)
  4. if no group is specified at the path/operation level, treat it as a separate rate limit for this path/operation

Additional context Add any other context, CLI input/output, etc. about the enhancement here.