Declarative and imperative management · Question 4 of 12
What is kubectl diff -f used for?
1 answer is correct. Easy Created with AI
Show answer
Answer
- D It shows what would change in the cluster without applying anything
Explanation
kubectl diff compares the file with the object in the cluster. Pipelines like to use it as a preview before the actual apply.