Welcome to the Linux Foundation Forum!

Can you explain : "Labels are immutable as of API version apps/v1."

Hello,
I don't understand this sentence : "Labels are immutable as of API version apps/v1." For me "immutable" is something that you cannot change. But you can change labels of every objects.

So I try to modify labels of a deployment : it's allowed. Also modifications of Pod labels are allowed.

The only part that cannot be modified is maybe the spec.template.metadata.labels and spec.selector.matchLabels fields.

Best regards,
Julien

Comments

Categories

Upcoming Training