Alex's Slip-box

These are my org-mode notes in sort of Zettelkasten style

Kubectl

See also https://kubernetes.io/docs/reference/kubectl/cheatsheet/

Description Command
Get namespaces kubectl get ns
Set namespace kubectl config set-context –current –namespace=foo
Show current namespaces kubectl config view (grep namespace)
Set current context kubectl config use-context foo
Show current context kubectl config current-context
Get all pods kubectl get pods
Exec kubectl exec -it mypod – bash
Get deployment info kubectl get deployments foo -o yaml

Search Results