Skip to content

Allow custom tolerations with operator #1617

@cosandr

Description

@cosandr

Hi,

I'd like to deploy the gpu plugin with custom tolerations, i.e.

tolerations:
  - operator: "Exists"
    key: node-role.kubernetes.io/control-plane
    effect: NoSchedule

but this doesn't appear to be possible. The CRD supports node selectors but not tolerations.

My workaround is deploying the daemonset with kustomize and patching it afterwards to have my tolerations, but I'd like to switch to the operator if possible. I admit I haven't tried to patch the daemonset deployed by the operator, I assumed that's a bad idea and that it would eventually replace it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestoperatorDevice operator related issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions