If you would like to add resource class limits from within your config.yml you can define these within the spec section of your config.
An example can be found below which will limit both the CPU and memory for the containers within the specified resource class.
CPU resources are always specified as an absolute amount of resources, never as a relative amount.
Memory resource is the amount of ram made available to the container running the job for the specific resource class
agent: resourceClasses: my-namespace/my-resourceClass: token: MY_TOKEN spec: containers: - resources: limits: cpu: 500m memory: 256Mi nodeSelector: key: value
You can define pod configuration settings in the
spec block, similar to how you would define them in Kubernetes manifests (YAML).
More information can be found here in our documentation.