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

CKA study material · question 970 of 1000

An object was created with plain kubectl create and later applies behave unexpectedly. What was missing?

  1. A label identifying the managing tool
  2. The saved configuration that apply relies on
  3. An ownerReference to the applying controller
  4. The --server-side flag on the create
Show the answer

Answer: B. The saved configuration that apply relies on

Resources to be managed with apply should be created with apply or with create --save-config, so the last applied configuration exists for later diffs to work from.

Source: kubectl apply (Kubernetes) — Synopsis

Challenge yourself on this topic → Study as cards