kubectl apply vs create
Why is kubectl apply -f preferred over kubectl create -f for manifests kept in Git?
kubectl apply -f
kubectl create -f
Choose one answer
create doesn't support YAML, only JSON.
create
apply creates or updates objects, so it can be rerun.
apply
create only works in the default namespace unless the cluster admin enables it elsewhere.
default
apply is faster because it skips validation.