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 setting affinity rules #432

Open
fornhunkle opened this issue Nov 6, 2024 · 0 comments
Open

Support setting affinity rules #432

fornhunkle opened this issue Nov 6, 2024 · 0 comments

Comments

@fornhunkle
Copy link

Recent updates allow setting replicaCount for deployments but the templates don't support setting affinity rules. In my case I want the pods running on different nodes.

Is this something you would consider adding?

If so, I could have a go at creating a PR for it.

Something along the lines of this for each deployment that can set replicas:

spec:
  template:
    spec:
      {{- with .Values.uat.affinity }}
      affinity: {{ toYaml . | indent 6 }}
      {{- end }}
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