Skip to content

Add tolerations to existing osd's #13944

Answered by a1994sc
a1994sc asked this question in Q&A
Mar 15, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Ok... so I have identified the problem and it is a bit of PEBKAC.... I had placement at the root of the values for the helm install, when it needs to be under cephClusterSpec

Here is the config that worked for me:

cephClusterSpec:
  placement:
    all:
      nodeAffinity:
        requiredDuringSchedulingIgnoredDuringExecution:
          nodeSelectorTerms:
          - matchExpressions:
            - key: example.com/is-infra
              operator: In
              values:
              - "true"
      tolerations:
      - effect: NoSchedule
        key: node-role.kubernetes.io/infrastructure
        operator: Exists
    osd:
      nodeAffinity:
        requiredDuringSchedulingIgnoredDuring…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@a1994sc
Comment options

@a1994sc
Comment options

Answer selected by a1994sc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants