Init Container Configuration
Pods might be created with init containers responsible for loading configuration or
performing pre-requisite checks. These containers are based on the
matrixx-sideloader
and matrixx-toolbox
images and
might require increased resources in certain circumstances.
Init Container Configuration Properties describes the properties available for specifying resources for init containers.
Property | Description |
---|---|
global.initContainers.sideloader.image.nameOverride | The name to use for the image for matrixx-sideloader-based init containers. |
global.initContainers.sideloader.image.versionOverride | The tag value to use for the image for matrixx-sideloader-based init containers. |
global.initContainers.sideloader.resources | The resources (specified as CPU and memory limits) available to init
containers based on the matrixx-sideloader
image. |
global.initContainers.toolbox.image.nameOverride | The name to use for the image for matrixx-toolbox-based init containers. |
global.initContainers.toolbox.image.versionOverride | The tag value to use for the image for matrixx-toolbox-based init containers. |
global.initContainers.toolbox.resources | The resources (specified as CPU and memory limits) available to
initContainers based on the matrixx-toolbox
image. |
Requests for resources are set using the resources.requests.cpu
and
resources.requests.memory
properties, and the limit values are set
using the resources.limits.cpu
and
resources.limits.memory
properties.
requests
values are not specified, they
default to the corresponding limits
values. Because of this, to create
matching requests
and limits
values, only the
limits
values must be specified.The following Helm values file excerpt shows specification of resources using these properties:
global:
initContainers:
sideloader:
resources:
limits:
memory: "100Mi"
cpu: "100m"
toolbox:
resources:
limits:
memory: "100Mi"
cpu: "100m"