Interview Prep/Kubernetes/Architecture & Control Plane

What is the difference between `kubectl apply` client-side and server-side apply?

IntermediateConceptArchitecture & Control Plane
Answer

Client-side apply stores the last-applied config in an annotation and computes a three-way patch locally. Server-side apply (--server-side) tracks field ownership (managedFields) on the server, so multiple managers can own different fields and conflicts are detected explicitly.

kubectl apply --server-side --field-manager=ci -f app.yaml
kubectl apply --server-side --force-conflicts -f app.yaml
All Kubernetes questions Roadmap: Kubernetes core

More on Architecture & Control Plane