Announcement
This page is also available in Deutsch, Español, Français, Italiano, 日本語, and Português.
Full-mode ResourceQuota support: increase workload resources up to quota caps
Make full use of resources in namespaces governed by ResourceQuotas
By Max Iemelianov
·Shipped by
Yevhen Sylenko
Until now, PerfectScale blocked increased recommendations in namespaces governed by ResourceQuotas, which is safe, but it left some workloads under-resourced. Enter full mode ResourceQuota support.
What's new
- Enable full ResourceQuota mode in WorkloadAutomationConfig, NamespaceAutomationConfig or ClusterAutomationConfig.
- In full mode, every workload is checked against every ResourceQuota that applies to it, and each quota tracks usage independently.
- Increased recommendations are now applied as long as the workload's resources fit within every relevant ResourceQuota cap.
- Four resource types are tracked, and only when they are configured on the ResourceQuota:
cpu.requests,cpu.limits,memory.requests,memory.limits. - If a workload is covered by two ResourceQuotas and one has enough headroom for an increased resource but the other doesn't, the increase is blocked.
- Requests and limits are evaluated as a pair for a given resource: if either lacks headroom in a quota, the increase is blocked.
- CPU and memory are evaluated independently: insufficient CPU headroom blocks the CPU increase without blocking a memory increase, and vice versa.
- Decrease-only recommendations are always allowed, with or without full mode.
Full details are in the documentation.