ArgoCD seems to ignore affinity rules when calculating diffs.
Did search in docs and FAQ, could not find a statement that this is expected.
To Reproduce
Create some deployment via Argo
In the Argo UI, manually add an affinity rule to the deployment
At this point, the Argo UI shows the affinity setting in Live Manifest and not in Desired Manifest (which is expected). However, Argo does not show any changes in Diff (which is unexpected).
Sync
At this point the manually added affinity still exists (which is unexpected)
Expected behavior
When calculating the diff, Argo should include differences in affinity rules
When syncing, Argo should apply the Desired Manifest, including affinity rules
or
Documentation explains why the current behaviour and also why it is superior
Version
v2.4.10+2ccc17a
Notes
Could observe the same behaviour with a statefulset resource.
Describe the bug
ArgoCD seems to ignore affinity rules when calculating diffs.
Did search in docs and FAQ, could not find a statement that this is expected.
To Reproduce
deployment
via ArgoAt this point, the Argo UI shows the affinity setting in Live Manifest and not in Desired Manifest (which is expected). However, Argo does not show any changes in Diff (which is unexpected).
At this point the manually added affinity still exists (which is unexpected)
Expected behavior
or
Version
Notes
Could observe the same behaviour with a
statefulset
resource.