Study. uk . com
  1. Home
  2. All questions
  3. Question 609

CKA study material · question 609 of 1000

A ConfigMap was marked immutable and now needs a changed value. What is required?

  1. Setting immutable back to false, then editing the data
  2. Patching the data field, which is still permitted
  3. Deleting the ConfigMap and creating a replacement
  4. Creating a new revision, which supersedes the immutable one
Show the answer

Answer: C. Deleting the ConfigMap and creating a replacement

Immutability cannot be reverted and the data can never change, so the object has to be deleted and recreated; the Pods that mounted it should be recreated too.

Source: Secrets (Kubernetes) — Immutable Secrets

Challenge yourself on this topic → Study as cards