concept

Server-side apply and ownership

Server-side apply tracks declared field intent on the server. An apply that changes a field held by another manager can conflict; equal values can be co-owned. Omission of an owned field relinquishes that claim and may remove or default the field when no other owner remains. Use a reviewed handoff instead of forcing conflicts indiscriminately.

Formal Syntax & Structure

kubernetes syntaxkubernetes
kubectl apply --server-side --field-manager=MANAGER -f FILE

Working Example

Example Snippetkubernetes
apiVersion: apps/v1kind: Deploymentmetadata:  name: catalog  namespace: api-labspec:  replicas: 3
Kubernetes Reference