Difference between revisions of "Kubectl"

From John Freier
Jump to: navigation, search
Line 5: Line 5:
 
This checks who kubectl is connected to.
 
This checks who kubectl is connected to.
 
   kubectl config current-context
 
   kubectl config current-context
 +
 +
 +
'''Apply a configuration yaml file.'''
 +
  kubectl appl y - f [name_of_file]

Revision as of 11:32, 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 appl y - f [name_of_file]