BOSH resource requests and limit
Converting BOSH resource requests and limits to Kubernetes
It is possible to define resource requests and limits (CPU/Memory) for each container generated by the Quarks Operator.
The Quarks Operator, while converting the BPM informations, translates the BPM processes requests
and limits
to Kubernetes containers and pods, which are generated from instance groups.
It expands the BOSH specification to cover the features offered by Kubernetes, here is a complete example:
|
|
Here is a comprehensive table of the conversion which is done by the Quarks Operator and the respective Kubernetes equivalent:
Job spec in Manifest | Kube Pod Container | Description |
---|---|---|
properties.quarks.bpm.processes[n].requests.cpu |
container.Resources.Requests.cpu |
Guaranteed CPU |
properties.quarks.bpm.processes[n].requests.memory |
container.Resources.Requests.memory |
Guaranteed memory |
properties.quarks.bpm.processes[n].limits.cpu |
container.Resources.Limits.cpu |
Specify a CPU request and a CPU limit |
properties.quarks.bpm.processes[n].limits.memory |
container.Resources.Limits.memory |
Specify a memory request and a memory limit |
Last modified May 25, 2021: Fix code display in release docs (2bc24a5)