← All notes

Kubernetes Server-Side Apply - field managers, conflicts and kubectl apply --server-side

Answer: Run kubectl apply --server-side --field-manager=<name> -f app.yaml. Server-Side Apply lets the control plane track changes to an object's fields. Trying to change a field controlled by a different manager is rejected unless the client forces an override.

Commands

kubectl apply --server-side -f app.yaml
kubectl apply --server-side --dry-run=server -f app.yaml
kubectl apply --server-side --field-manager=ci-pipeline -f app.yaml
kubectl apply --server-side --force-conflicts -f app.yaml
kubectl get deployment web -o yaml --show-managed-fields

How field management works

Conflicts

A conflict occurs when an apply tries to change a field that another manager also claims. You have three options:

  1. Overwrite and become sole manager: use --force-conflicts (the force query parameter). Controllers usually do this.
  2. Give up the claim: remove the field from your manifest and apply again; the value stays unchanged.
  3. Become a shared manager: change your local value to match the object on the server, then make a new request.

Versus client-side apply

Server-Side Apply replaces the original client-side kubectl apply. Instead of the last-applied-configuration annotation, it tracks an object's field management. Switching with kubectl apply --server-side transfers field management by default without conflicts.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Server-Side Apply; kubernetes/website (GitHub), server-side-apply.md (source page). CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Server-Side Apply; kubernetes/website (GitHub), server-side-apply.md (source page). CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors.

Cite this

Permanent ID: iil:note:prtqbtdd

iinventedlight. 2026. "Kubernetes Server-Side Apply - field managers, conflicts and kubectl apply --server-side." iinventedlight Library, iil:note:prtqbtdd, version of 2026-11-18. https://iinventedlight.com/library/notes/kubernetes-server-side-apply/. License: CC-BY-4.0.

@misc{iil_note_prtqbtdd,
  author = {{iinventedlight}},
  title = {{Kubernetes Server-Side Apply - field managers, conflicts and kubectl apply --server-side}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-18},
  url = {https://iinventedlight.com/library/notes/kubernetes-server-side-apply/},
  note = {Permanent ID iil:note:prtqbtdd. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/kubernetes-server-side-apply.md.