fluid icon indicating copy to clipboard operation
fluid copied to clipboard

[FEATURES] Dataset nodeAffinity should support matchFields

Open TrafalgarZZZ opened this issue 4 years ago • 0 comments

What feature you'd like to add: For now, Fluid allow nodeAffinity.required.nodeSelectorTerms[i].matchFields to be defined in Dataset while it is ignored and takes no effect.

Dataset nodeAffinity should support matchFields like this:

nodeAffinity:
  required:
    nodeSelectorTerms:
      - matchFields:
        - key: metadata.name
           operator: In
           values:
           - target-host-name

Why is this feature needed: To make affinity fields of Dataset be consistent with affinity fields of Pods.

This is useful when users want to deploy Runtimes on some specific hosts.

TrafalgarZZZ avatar Aug 25 '21 06:08 TrafalgarZZZ