Two teams apply the same ConfigMap with server-side apply. The second one gets a conflict: the field belongs to another field manager, and Kubernetes does not overwrite it silently.
Symptom
kubectl apply --server-side --field-manager=team-shop -f aktion.yaml kubectl apply --server-side --field-manager=team-marketing -f aktion-marketing.yaml; echo "exit $?" configmap/aktion serverside-applied error: Apply failed with 1 conflict: conflict with "team-shop": .data.RABATT Please review the fields above--they currently have other managers. Here are the ways you can resolve this warning: * If you intend to manage all of these fields, please re-run the apply command with the `--force-conflicts` flag. exit 1
Marketing changes the discount (RABATT) from 10 to 20. But the shop team set the field .data.RABATT.
Diagnosis
The message names the manager and the field. managedFields show who owns what.
kubectl -n laden get cm aktion -o yaml --show-managed-fields | sed -n '/managedFields/,/name: aktion/p' | grep -E 'manager|f:RABATT|f:BANNER|operation'
f:BANNER: {}
f:RABATT: {}
manager: team-marketing
operation: Apply
f:BANNER: {}
manager: team-shop
operation: Apply
Causes
conflict with "team-shop"Field owned by another manager
Server-side apply remembers which field manager set each field. If another one wants a different value, the result is a conflict instead of a silent overwrite.
same valueNo conflict for the same value
If both set the same value, they share the field – in the example BANNER, which belongs to both afterwards.
Fix
kubectl apply --server-side --field-manager=team-marketing --force-conflicts -f aktion-marketing.yaml configmap/aktion serverside-applied
Don't: Add --force-conflicts to every pipeline by reflex. The conflict shows exactly where two teams, or a GitOps tool and a manual change, want the same field.
Kubernetes tools, Day 2: changing resources – server-side apply with field managers, three ways to patch, checking permissions.
Go to day 2 →
FAQ
What does this have to do with Argo CD and Flux?
GitOps tools work the same way – each has its own field manager, and conflicts with manual changes become visible instead of being silently overwritten.
How do I give up a field without overwriting it?
Remove it from your manifest. The other manager then keeps the field and your apply runs without a conflict.