LIMIT_TO_REQUEST_RATIO¶
- controller.constants.LIMIT_TO_REQUEST_RATIO = 4.0¶
Ratio of lab resource limits to requests.
The controller configuration only includes the Kubernetes limits. The resource requests, which are the resources that must be aviailable for the lab to spawn and which are used to determine autoscaling, are determined by dividing the limits by this factor. Another way of looking at this value is that it’s the overcommit factor for labs, assuming many labs will not use their full available resources.