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

CKA study material · question 101 of 1000

Which two commands work with a kustomization directory? Choose two.

  1. kubectl kustomize <dir>
  2. kubectl create --kustomize <dir>
  3. kubectl patch -k <dir>
  4. kubectl apply -k <dir>
Show the answer

Answer: A. kubectl kustomize <dir>
D. kubectl apply -k <dir>

kubectl kustomize renders what a directory produces and kubectl apply -k applies it.

Source: Declarative Management of Kubernetes Objects Using Kustomize (Kubernetes) — Declarative Management of Kubernetes Objects Using Kustomize

Challenge yourself on this topic → Study as cards