RFE: add rate limiter to the broker's API handler #1098
Labels
3.12 | release-1.4
Kubernetes 1.12 | Openshift 3.12 | Broker release-1.4
feature
has-bugzilla
This issue has a corresponding bugzilla
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Feature:
There are times that APIs are getting called for what seems like forever. For example, a provision fails which will cause the service catalog to issue a deprovision. If the deprovision fails, this cycle can continue forever. Normally the broker is configured to save failed APB pods so that they may be debugged later. At the moment we save ALL APB pods which can create a lot of unwanted namespaces.
There are 2 parts to this feature:
look into only saving the latest failed APB pod. For example, if a deprovision call fails, and a subsequent one fails with the same parameters, then we should delete the older pod and keep the newer one
rate limit the API, such that after a certain period of time we don't spawn new pods at all for the API and just return that it failed always. Basically becoming a no-op.
The text was updated successfully, but these errors were encountered: