Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 643 Bytes

File metadata and controls

28 lines (20 loc) · 643 Bytes

Kubectl

Let's get this installed!

Installing Kubectl

The main CLI tool for Kubernetes

The best Kubectl resource on the internet

Running the container in Kubernetes

kubectl run <name> <command> <options> --image <image>
kubectl run app-1 --image krisnova/kubernetes-workshop-app

Inspecting the container

kubectl get deploy <name> -oyaml
kubectl edit deploy <name>
kubectl get pods
kubectl logs <pod> -f
kubectl explain <pod>
kubectl describe <pod>
alias kdump="kubectl get all --all-namespaces"