The “apply” Evolution in Kubernetes

2026/03/07

In Kubernetes, kubectl apply is the bridge between desired state (the YAML file) and live state (the cluster). The “apply” logic determines how the cluster calculates the difference between these two states and who is allowed to change what.

Client-Side Apply (The Legacy Method)

Server-Side Apply (The Modern Standard)

Technical Deep Dive

The secret to SSA is the managedFields ledger. You can inspect it by running:

k get <resource> -o yaml

Key concepts in the ledger:

Conclusion

As Kubernetes matures, SSA is the clear winner for production environments. It transforms the API server into a smart traffic controller that prevents state flapping when multiple managers own different parts of the same manifest.