Skip to content

Add validation on rate-limit ingress annotations #4977

@vepatel

Description

@vepatel

Similar to rate-limit policies in VS/VSR, below annotations should be mandatory i.e. at least these 3 annotations should be present in Ingress if a user wishes to configure rate-limiting:

    nginx.org/limit-req-rate: 1r/s
    nginx.org/limit-req-key: ${binary_remote_addr}
    nginx.org/limit-req-zone-size: 10M

Metadata

Metadata

Labels

backlogPull requests/issues that are backlog itemsproposalAn issue that proposes a feature request

Type

No type

Projects

Status

Prioritized backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions