Declarative and imperative management · Question 10 of 12
A Deployment web already exists. What happens with kubectl create -f web.yaml using the same file?
1 answer is correct. Medium Created with AI
Show answer
Answer
- B The command fails with the error AlreadyExists
Explanation
create only creates new objects. For existing objects you use apply or replace.