Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide global.affinity and global.tolerations options to apply for all kubevious components #30

Open
vumdao opened this issue Oct 22, 2023 · 0 comments

Comments

@vumdao
Copy link

vumdao commented Oct 22, 2023

It will be convenient to have global.affinity and global.tolerations option so that we don't have to define them at each component
example:

    global: {
      affinity: {
        nodeAffinity: {
          requiredDuringSchedulingIgnoredDuringExecution: {
            nodeSelectorTerms: [{
              matchExpressions: [{
                key: 'deployment',
                operator: 'In',
                values: ['my-affinity'],
              }],
            }],
          },
        },
      },
      tolerations: [{
        effect: 'NoSchedule',
        key: 'dedicated',
        operator: 'Equal',
        value: 'my-toleration',
      }],
    },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant