A custom scheduler for rate limiting large busts of Pod creations.
- Avoid stampedes on shared backend infrastructure eg. Shared database cluster with 100s for backup tasks.
This scheduler is a custom permit plugin built ontop of the Kubernetes Scheduler Framework.
This approach gives us the benefit of a custom scheduler as well as all the existing scheduler logic to fallback on when our business logic is executed.
kubectl apply -f deploy/
See the example for Pod configuration.
This is a great example repository to draw inspiration from: