Difference between revisions of "Kubectl"
From John Freier
Line 8: | Line 8: | ||
'''Apply a configuration yaml file.''' | '''Apply a configuration yaml file.''' | ||
− | kubectl | + | kubectl apply -f [name_of_file] |
Revision as of 10:33, 11 April 2022
Kubectl is an application that interacts with Kubernetes clusters.
Check the context
This checks who kubectl is connected to.
kubectl config current-context
Apply a configuration yaml file.
kubectl apply -f [name_of_file]