Skip to content

Allow to set affinities #2144

Description

@applike-ss

Is your feature request related to a problem? Please describe.
I want to be able to distribute ArgoCD component pods across hostnames, so spot interruptions have less impact on ArgoCD

Describe the solution you'd like
every component that the operator can place should get an affinity property which can be filled with kubernetes native affinity specs: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#an-example-of-a-pod-that-uses-pod-affinity

Describe alternatives you've considered
using a policy agent to add the affinity

Additional context
Spot interruptions happen more and more, so also software must be flexible enoug in terms of placing replicas across nodes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions