Run HTTP Server on Port 8080
python3 -m http.server 8080
Kubectl Show Specific Columns
kubectl get sts -o custom-columns=NAME:.metadata.name
Base64 Disable Line Wrapping
echo "some long string" | base64 -w 0
jq select / concat multiple field
kubectl get deploy -o json | jq -r '.items[].metadata.labels | .label1 +" " + .label2'
Debugging pod using ephemeral container
kubectl debug -it <pod_name> --target=<target_container> --image=<image>