You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handle cases with namespace quotas limits sets (#1182)
* feat(resourcequota): Handle cases with namespace quotas limits sets
Handle 2 cases:
* User did not set quota for applications or set it incorrectly
* User tries to scale the application when limits are already exceeded (overuse)
* Don't raise RuntimeError if no events in namespace
* Add test for _handle_not_ready_pors function
* Fix indents required by flake8
* Use replicaset events for handle quota exceed cases
* Don't try to wait for pods started if we have failed events in ReplicaSet
self.log(namespace, 'This deployments overall timeout is {}s - batch timout is {}s and there are {} batches to deploy with a total of {} pods'.format(timeout, deploy_timeout, len(batches), replicas)) # noqa
328
334
335
+
# check for failed events(when quota exceeded for example)
0 commit comments