What does `kubectl apply` do differently from `kubectl create`?

AdvancedConceptKubernetes
Answer

create is imperative and fails if the object exists. apply is declarative: it creates or updates by three-way merge against the last-applied config, so it can be run repeatedly.

All Real-World Interview questions Roadmap: Interview readiness

More on Kubernetes