Home

managedFields

ManagedFields is a metadata feature of Kubernetes objects that records which fields are owned or managed by which managers. It was introduced to support server-side apply and to enable more deterministic merging of updates from multiple sources.

Each entry in an object's metadata.managedFields list describes a manager’s ownership of a subset of the object’s

Purpose and use of managedFields center on enabling server-side apply semantics. By recording which fields are

Viewing and implications: The field is exposed in the object’s YAML or JSON under metadata.managedFields and

Limitations and notes: ManagedFields is an internal mechanism that can grow large and may not be populated

fields.
A
typical
entry
includes
the
Manager
(the
name
of
the
client
or
controller),
APIVersion
(the
resource
version
at
the
time
of
the
operation),
Time
(timestamp),
Operation
(such
as
Apply
or
Update),
and
Fields
(a
representation
of
the
field
ownership).
Entries
are
appended
as
actions
occur,
creating
a
history
of
field
ownership
for
the
object.
controlled
by
which
manager,
the
API
server
can
merge
updates
from
different
sources
without
overwriting
each
other
unintentionally,
resolve
conflicts,
and
allow
a
manager
to
prune
fields
it
no
longer
owns.
This
metadata
guides
how
patches
are
applied
and
helps
maintain
consistent
field
ownership
across
controllers,
users,
and
the
API
server.
can
be
inspected
with
commands
such
as
kubectl
get
<resource>
-o
yaml.
It
can
be
lengthy
for
complex
objects
and
is
primarily
used
for
debugging
server-side
apply
behavior
rather
than
day-to-day
consumption.
for
all
objects
or
operations.
Its
presence
and
content
depend
on
the
use
of
server-side
apply
and
the
activity
of
managers
interacting
with
the
object.