Skip to content

Cannot set resource requirements for fs-init container in k8s-novolume mode #348

@TonyNoble

Description

@TonyNoble

When using a containerMode of 'kubernetes-novolume', the k8s-novolume hook script creates an init container called 'fs-init'. It is not currently possible to set the resource requests and limits for this container, which breaks deployment on infrastructures that require them to be declared.

Additionally it does not appear to be practical to override the entire 'fs-init' init container as its definition is conditional.

Ideally, it would be possible to override similar to the job container - by merging pod template definitions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions