Skip to content

Unable to configure tolerations for kcp, etcd and front proxy #135

@martivo

Description

@martivo

It is not possible to create toleration configurations for front-proxy, kcp and etcd Pods. It is possible to configure affinity but this is usually combined with a toleration in case there are dedicated nodes for some pods.

Propose to add

etcd:
    tolerations: []
kcp:
    tolerations: []
kcpFrontProxy:
    tolerations: []

Usage example

kcp:
    tolerations:
      - key: "kcp"
        operator: "Equal"
        value: "true"
        effect: "NoSchedule"
    affinity:
      nodeAffinity:
        preferredDuringSchedulingIgnoredDuringExecution:
          - weight: 90
            preference:
              matchExpressions:
                - key: kcp
                  operator: In
                  values:
                    - "true"

Would result in a pod that has both affinity and toleration for the taint. I can create needed PR if this proposal is acceptable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions