Skip to main content
  1. Today I learned/

Immutability of pods in Kubernetes

·71 words·1 min· loading · loading · ·
Marius Kimmina
Marius Kimmina
IT Infrastructure at scale
Table of Contents

First of, pods in Kubernetes aren’t entirely immutable - just mostly.

Most of the metadata about a Pod is immutable. For example, you cannot change the namespace, name, uid, or creationTimestamp fields;

See for the above quote

If I want to change the name or the namespace of a pod, I can’t. I have to instead make a new Pod and delelte the old one.

Further reading