- https://kodekloud.com/courses/kubernetes-certification-course/lectures/6743640
- https://killer.sh/faq
- https://github.com/dgkanatsios/CKAD-exercises/blob/master/b.multi_container_pods.md
- kubectl completion bash
- alias k=kubectl
- create the file ~/.vimrc with the following content: set tabstop=2 set expandtab set shiftwidth=2
- k delete pod x --grace-period 0 --force
-
byrnedo/alpine-curl (k run tmp --restart=Never --rm --image=byrnedo/alpine-curl -i curl 10.12.2.15)
-
watch -n 0.5 "kubectl config current-context; echo ''; kubectl config view | grep namespace; echo ''; kubectl get namespace,node,ingress,pod,svc,job,cronjob,deployment,rs,pv,pvc,secret,ep -o wide"
-
Busybox image kubectl run busybox --image=busybox --rm -it --restart=Never -- wget -O- 10.1.1.131:80
- --generator=deployment/apps.v1
- kubectl create job pi --image=perl -- perl -Mbignum=bpi -wle 'print bpi(2000)'