Skip to content

Instantly share code, notes, and snippets.

View jralmaraz's full-sized avatar

Jose Roberto Almaraz jralmaraz

View GitHub Profile
# This tells kubecfg to read its config from the local directory
export KUBECONFIG=./kubeconfig
# Looking at the cluster
kubectl get nodes
kubectl get pods --namespace=kube-system
# Running a single pod
kubectl run --generator=run-pod/v1 --image=gcr.io/kuar-demo/kuard-amd64:1 kuard
kubectl get pods