Skip to content

Resources

  • .Values.workload.$name.podSpec.containers.$name
  • .Values.workload.$name.podSpec.initContainers.$name

The resources that the container can use.

Keyworkload.$name.podSpec.containers.$name.resources
Typemap
Required
Helm tpl
DefaultSee here

Example

workload:
workload-name:
podSpec:
containers:
container-name:
resources: {}

The minimum amount of resources that the container needs.

Keyworkload.$name.podSpec.containers.$name.resources.requests
Typemap
Required
Helm tpl
DefaultSee here

Example

workload:
workload-name:
podSpec:
containers:
container-name:
resources:
requests: {}

The minimum amount of CPU that the container can use.

Keyworkload.$name.podSpec.containers.$name.resources.requests.cpu
Typestring
Required
Helm tpl
DefaultSee here

Example

workload:
workload-name:
podSpec:
containers:
container-name:
resources:
requests:
cpu: 10m

The minimum amount of memory that the container can use.

Keyworkload.$name.podSpec.containers.$name.resources.requests.memory
Typestring
Required
Helm tpl
DefaultSee here

Example

workload:
workload-name:
podSpec:
containers:
container-name:
resources:
requests:
memory: 50Mi

The maximum amount of resources that the container can use.

Keyworkload.$name.podSpec.containers.$name.resources.limits
Typemap
Required
Helm tpl
DefaultSee here

Example

workload:
workload-name:
podSpec:
containers:
container-name:
resources:
limits: {}

The maximum amount of CPU that the container can use.

Keyworkload.$name.podSpec.containers.$name.resources.limits.cpu
Typestring
Required
Helm tpl
DefaultSee here

Example

workload:
workload-name:
podSpec:
containers:
container-name:
resources:
limits:
cpu: "1"

The maximum amount of memory that the container can use.

Keyworkload.$name.podSpec.containers.$name.resources.limits.memory
Typestring
Required
Helm tpl
DefaultSee here

Example

workload:
workload-name:
podSpec:
containers:
container-name:
resources:
limits:
memory: 1Gi

An Intel GPU added when available Note that gpu.intel.com/i915 is a single key, despite of the .

Default

workload:
workload-name:
podSpec:
containers:
container-name:
resources:
limits:
gpu.intel.com/i915: 1

An NVIDIA GPU added when available Note that nvidia.com/gpu is a single key, despite of the .

Default

workload:
workload-name:
podSpec:
containers:
container-name:
resources:
limits:
nvidia.com/gpu: 1

An AMD GPU added when available Note that amd.com/gpu is a single key, despite of the .

Default

workload:
workload-name:
podSpec:
containers:
container-name:
resources:
limits:
amd.com/gpu: 1

workload:
workload-name:
enabled: true
primary: true
podSpec:
containers:
container-name:
enabled: true
primary: true
resources:
limits:
cpu: "1"
memory: 1Gi
requests:
cpu: 10m
memory: 50Mi