# Kubectl

Select kubeconfig and namespace first:

export kubeconfig=~/.kube/kubeconfig ...
kubectl config set-context --current --namespace=iotamh-develop

Get info about pods:

kubectl get pods
kubectl get pod {pod-name} -o yaml # Get all pod details
kubectl describe pod {pod-name} # Also nice for debugging pod state
kubectl logs {pod-name} -f # show and follow pod logs
kubectl exec -it {pod-name} sh # go into a pod and check its contents