Preview:
# Display the list of context
kubectl config get-contexts   
# Display the current-context
kubectl config current-context
# Change context to my-cluster-name
kubectl config use-context my-cluster-name
# Get nodes
kubectl get nodes
# Get pods
kubectl get pods
# Execute bash in a specific pod
kubectl exec -it pod-name -- /bin/bash
# Inspect env values
kubectl exec pod-name -- env
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter