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

support affinity in helm chart #190

Closed
yalattas opened this issue Jul 12, 2024 · 1 comment
Closed

support affinity in helm chart #190

yalattas opened this issue Jul 12, 2024 · 1 comment

Comments

@yalattas
Copy link

yalattas commented Jul 12, 2024

Summary

Its much simpler to use affinity to schedule pod to a dedicate NodePool, current chart doesn't have affinity with label

Use cases

For provisioning pod to a specific NodePool. It will allow to use podAntiAffinity as well to distribute pods across AZs for High-Availability

Proposed solution

add Affinity in deployment inside helm chart

Is there a workaround to accomplish this today?

I guess NodeSelector. Havn'e test it yet

References & Prior Work

  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
          - matchExpressions:
              - key: role
                operator: In
                values:
                  - critical
@naziba321
Copy link

Hi @yalattas,

This has been brought up previously (1Password/connect-helm-charts#133). As mentioned, we've logged this internally to implement and are currently reviewing a PR to potentially solve this!

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

2 participants