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
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