In order to deploy my k8s cluster I kubectl apply -f folder-of-yamls/
And it seems that the order of execution is important.
One approach I've seen is to prefix 001-namespace.yaml
002-secrets.yaml
etc. to create an ordering.
To tear down, if I kubectl delete -f folder-of-yamls/
, can I simply reverse the order or must I manually create a sequence?