Server-Side Apply and Field Management in Kubernetes
Advanced · 45 minutes · 5 tasks, checked automatically · 100 points
In this advanced lab you will master Kubernetes Server-Side Apply (SSA), the modern declarative ownership model that replaced Client-Side Apply. You will explore how field managers work, how conflicts are detected and resolved, how multiple actors can co-own different fields of the same resource, and how to safely migrate from client-side to server-side apply workflows. All tasks run inside the toolbox container against your kind cluster.
What you’ll learn
- Understand how Server-Side Apply tracks field ownership via managedFields metadata
- Apply resources with explicit field managers and observe conflict detection when two managers claim the same field
- Use force-conflicts and shared field ownership to enable safe multi-actor management of Kubernetes resources
- Migrate an existing client-side-applied resource to Server-Side Apply and verify field manager entries
How this lab works
- Start the lab: One click starts a real Kubernetes cluster on your computer (kind), with kubectl ready in a toolbox terminal.
- Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work reads your live cluster and says, task by task, what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Cluster: A real Kubernetes cluster on your computer (kind)
- Kubernetes: 1.34.8
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
- A kind cluster created in the Kubernetes Playground
Topics: server-side-apply, field-management, managed-fields, kubectl, declarative, conflict-resolution, kubernetes
Create a free account to start this lab.