- To create/update a standard k8s resource:
where k8s is a file/directory where k8s resources are present.
kubectl apply -f k8s
- To create/update a kustomize resource:
where k8s is a file/directory where customize/k8s resources are present.
kubectl apply -k k8s