Skip to content

Kubectl commands

clydeu edited this page Dec 14, 2018 · 1 revision

Applying configurations

  • kubectl create -f .yaml - creates

  • kubectl apply -f .yaml - updates

  • kubectl delete -f .yaml - deletes

Logs

  • kubectl logs

Get resources

  • kubectl get pods

  • kubectl get svc

Just use the Cheat Sheet!

Clone this wiki locally