Skip to content

Latest commit

 

History

History
190 lines (95 loc) · 2.97 KB

aliases.md

File metadata and controls

190 lines (95 loc) · 2.97 KB

ALIASES LIST

k = kubectl

kaf = kubectl apply -f

kccc = kubectl config current-context

kcdc = kubectl config delete-context

kcgc = kubectl config get-contexts

kcn = kubectl config set-context --current --namespace

kcp = kubectl cp

kcsc = kubectl config set-context

kcuc = kubectl config use-context

kdcj = kubectl describe cronjob

kdcm = kubectl describe configmap

kdd = kubectl describe deployment

kdds = kubectl describe daemonset

kdel = kubectl delete

kdelcj = kubectl delete cronjob

kdelcm = kubectl delete configmap

kdeld = kubectl delete deployment

kdelds = kubectl delete daemonset

kdelf = kubectl delete -f

kdeli = kubectl delete ingress

kdelj = kubectl delete job

kdelno = kubectl delete node

kdelns = kubectl delete namespace

kdelp = kubectl delete pods

kdelpvc = kubectl delete pvc

kdels = kubectl delete svc

kdelsa = kubectl delete sa

kdelsec = kubectl delete secret

kdelss = kubectl delete statefulset

kdi = kubectl describe ingress

kdj = kubectl describe job

kdno = kubectl describe node

kdns = kubectl describe namespace

kdp = kubectl describe pods

kdpvc = kubectl describe pvc

kdrs = kubectl describe replicaset

kds = kubectl describe svc

kdsa = kubectl describe sa

kdsec = kubectl describe secret

kdss = kubectl describe statefulset

kecj = kubectl edit cronjob

kecm = kubectl edit configmap

ked = kubectl edit deployment

keds = kubectl edit daemonset

kei = kubectl edit ingress

kej = kubectl edit job

keno = kubectl edit node

kens = kubectl edit namespace

kep = kubectl edit pods

kepvc = kubectl edit pvc

kers = kubectl edit replicaset

kes = kubectl edit svc

kess = kubectl edit statefulset

keti = kubectl exec -t -i

kga = kubectl get all

kgaa = kubectl get all --all-namespaces

kgcj = kubectl get cronjob

kgcm = kubectl get configmaps

kgcma = kubectl get configmaps --all-namespaces

kgd = kubectl get deployment

kgda = kubectl get deployment --all-namespaces

kgds = kubectl get daemonset

kgi = kubectl get ingress

kgia = kubectl get ingress --all-namespaces

kgj = kubectl get job

kgno = kubectl get nodes

kgns = kubectl get namespaces

kgp = kubectl get pods

kgpa = kubectl get pods --all-namespaces

kgpall = kubectl get pods --all-namespaces -o wide

kgpvc = kubectl get pvc

kgpvca = kubectl get pvc --all-namespaces

kgrs = kubectl get replicaset

kgs = kubectl get svc

kgsa = kubectl get svc --all-namespaces

kgsec = kubectl get secret

kgseca = kubectl get secret --all-namespaces

kgss = kubectl get statefulset

kgssa = kubectl get statefulset --all-namespaces

kl = kubectl logs

kl1h = kubectl logs --since 1h

kl1m = kubectl logs --since 1m

kl1s = kubectl logs --since 1s

klf = kubectl logs -f

klf1h = kubectl logs --since 1h -f

klf1m = kubectl logs --since 1m -f

klf1s = kubectl logs --since 1s -f

kpf = kubectl port-forward

krh = kubectl rollout history

krsd = kubectl rollout status deployment

krsss = kubectl rollout status statefulset

kru = kubectl rollout undo

ksd = kubectl scale deployment

ksss = kubectl scale statefulset