kubectl apply

Manage applications through files defining Kubernetes resources. Create and update resources in a cluster. More information: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#apply.

kubectl apply -f {{resource_filename}}

kubectl apply edit-last-applied -f {{resource_filename}}

kubectl apply set-last-applied -f {{resource_filename}}

kubectl apply view-last-applied -f {{resource_filename}}