Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 sudo apt install -y vim git
- 2 git clone https://github.com/sandervanvugt/ckad
- 3 cd ckad
- 4 ./kube-setup.sh
- 5 sudo reboot
- 6 cd ckad
- 7 cat kube-setup.sh
- 8 minikube start --memory 4096 --vm-driver=kvm2
- 9 minikube status
- 10 sudo reboot
- 11 minikube start --memory 4096 --vm-driver=kvm2
- 12 minikube status
- 13 history
- 14 cd ckad
- 15 vim kube-setup.sh
- 16 minikube status
- 17 minikube --help
- 18 minikube ssh
- 19 kubectl get all
- 20 minikube dashboard
- 21 kubectl get all
- 22 kubectl create deployment firstnginx --image=nginx
- 23 kubectl get all
- 24 ls
- 25 ./countdown 12
- 26 kubectl get all
- 27 history
- 28 kubectl get all
- 29 kubectl delete mynginx-7bf8c6db65-x5qwc
- 30 kubectl delete pod mynginx-7bf8c6db65-x5qwc
- 31 kubectl get all
- 32 kubectl -h | less
- 33 kubectl completion -h | less
- 34 source <(kubectl completion bash)
- 35 kubectl scale deployment mynginx --replicas=3
- 36 kubectl get all
- 37 kubectl get pods -o wide
- 38 ./countdown 12
- 39 kubectl api-versions
- 40 kubectl api-resources | less
- 41 history
- 42 kubectl proxy --port=8001 &
- 43 curl http://localhost:8001/version
- 44 kubectl get pods
- 45 curl http://localhost:8001/api/v1/namespaces/default/pods | less
- 46 history -10
- 47 history | tail -10
- 48 kubectl get pods
- 49 curl http://localhost:8001/api/v1/namespaces/default/pods/firstnginx-8cdb8cd74-kbtr2
- 50 curl -XDELETE http://localhost:8001/api/v1/namespaces/default/pods/firstnginx-8cdb8cd74-kbtr2
- 51 kubectl get pods
- 52 kubectl api-resources | less
- 53 kubectl -h | less
- 54 kubectl run -h | less
- 55 kubectl config
- 56 kubectl config -h
- 57 kubectl config view
- 58 cd
- 59 ls -a
- 60 cd .kube/
- 61 ls
- 62 cat config
- 63 kubectl config view
- 64 cd
- 65 kubectl config view
- 66 kubectl run -h | less
- 67 kubectl run nginx --image=nginx
- 68 kubectl get pods
- 69 kubectl delete pod nginx
- 70 kubectl get pods
- 71 kubectl run nginx --image=nginx
- 72 kubectl describe pod nginx | less
- 73 kubectl run buysybox --image=busybox
- 74 kubectl get pods
- 75 kubectl describe pod buysybox | less
- 76 kubectl get pod buysybox -o yaml | less
- 77 ckad/countdown 12
- 78 cd ckad/
- 79 ls
- 80 vim busybox.yaml
- 81 kubectl api-resources | less
- 82 vim busybox.yaml
- 83 kubectl get ns
- 84 kubectl get pods
- 85 kubectl get pods -A
- 86 kubectl get pods -n kube-system
- 87 vim busybox.yaml
- 88 kubectl apply -f busybox.yaml
- 89 kubectl get pods
- 90 kubectl run busyblah --image=busybox --dry-run -o yaml > busyblah.yaml
- 91 vim busyblah.yaml
- 92 kubectl creaste
- 93 kubectl create -f busyblah.yaml
- 94 vim busyblah.yaml
- 95 kubectl create -f busyblah.yaml
- 96 kubectl get pods
- 97 kubectl explain pods
- 98 kubectl explain pods.spec | less
- 99 kubectl explain pods.spec.containers | less
- 100 kubectl explain --recursive pod | less
- 101 kubectl -h
- 102 kubectl label -h
- 103 kubectl explain pods
- 104 kubectl get pods
- 105 kubectl get pods buysybox -o yaml > buysybox.yaml
- 106 vim buysybox.yaml
- 107 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement