Skip to content

Files

Latest commit

3590c8a · Oct 23, 2018

History

History

20-container-to-kubernetes

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 22, 2018

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"