URL parameter for a CPU limit

You can use the cpuLimit parameter to specify or override the container CPU limit when starting a new workspace from a devfile URL. This is useful when you want to ensure that the workspace has enough memory allocated for your development tasks.

The URL parameter for the CPU limit is cpuLimit=:

https://<che_fqdn>#<git_repository_url>?cpuLimit=<container_cpu_limit>

You can specify the CPU limit in cores.

Example 1. Example

https://<che_fqdn>#https://github.com/eclipse-che/che-docs?cpuLimit=2

When you specify the cpuLimit parameter, it overrides the CPU limit defined for the first container of the devfile.

The sum of the limits from the target devfile and from the editor definition will be applied to the workspace pod spec.containers[0].resources.limits.cpu.