Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- student@student-virtual-machine:~/ckad$ history
- 1 sudo apt install vim git
- 2 git clone https://github.com/sandervanvugt/ckad
- 3 cd ckad
- 4 sudo ls -l /root
- 5 ls
- 6 ./kube-setup.sh
- 7 sudo reboot
- 8 cd ckad/
- 9 cat kube-setup.sh
- 10 minikube start --memory 4096 --vm-driver=kvm2
- 11 kubectl get all
- 12 history
- 13 free -m
- 14 sudo grep vmx /proc/cpuinfo
- 15 free -m
- 16 df -h
- 17 ls
- 18 vim kube-setup.sh
- 19 vim other-options.txt
- 20 minikube -h
- 21 minikube status
- 22 minikube ssh
- 23 kubectl get all
- 24 minikube dashboard
- 25 bg
- 26 ./countdown 12
- 27 kubectl get all
- 28 kubectl delete pod myfirstnginx-bc9b6d4d7-g9fz2
- 29 kubectl get all
- 30 kubectl -h
- 31 kubectl completion -h
- 32 source <(kubectl completion bash)
- 33 kubectl create deployment newnginx --image=nginx -h
- 34 kubectl create deployment newnginx --image=nginx --replicase=3
- 35 kubectl create deployment newnginx --image=nginx --replicas=3
- 36 kubectl get all
- 37 kubectl version
- 38 history
- 39 kubectl api-resources | less
- 40 kubectl explain priorityclasses
- 41 kubectl explain priorityclasses | less
- 42 kubectl -h | less
- 43 kubectl -h |less
- 44 kubectl api-resources | less
- 45 kubectl api-versions | less
- 46 kubectl explain pod | less
- 47 history
- 48 ./countdown 12
- 49 kubectl proxy --port=8001 &
- 50 curl http://localhost:8001/version
- 51 kubectl get pods
- 52 curl http://localhost:8001/api/v1/namespaces/default/pods
- 53 curl http://localhost:8001/api/v1/namespaces/default/pods/newnginx-757c575454-8x76n/
- 54 curl -XDELETE http://localhost:8001/api/v1/namespaces/default/pods/newnginx-757c575454-8x76n/
- 55 kubectl get pods
- 56 kubectl -h | less
- 57 kubectl completion -h | less
- 58 kubectl explain pod
- 59 kubectl explain pod.spec
- 60 kubectl explain pod.spec | less
- 61 kubectl run -h | less
- 62 kubectl run nginx --image=nginx
- 63 kubectl get all
- 64 kubectl delete pod newnginx-757c575454-zft7m
- 65 kubectl get all
- 66 kubectl delete pod nginx
- 67 kubectl get all
- 68 kubectl scale deployment --replicas=4 newnginx
- 69 kubectl get all
- 70 kubectl delete deployments.apps myfirstnginx
- 71 kubectl run --image=mariadb
- 72 kubectl run mydb --image=mariadb
- 73 kubectl get pods
- 74 kubectl describe pod mydb
- 75 kubectl logs mydb
- 76 kubectl run -h | less
- 77 kubectl run mydb --image=mariadb --env=MYSQL_ROOT_PASSWORD=password
- 78 kubectl delete pod mydb
- 79 kubectl run mydb --image=mariadb --env=MYSQL_ROOT_PASSWORD=password
- 80 kubectl get pod
- 81 history
- 82 ls
- 83 vim busybox.yaml
- 84 kubectl create -f busybox.yaml
- 85 kubectl get pods
- 86 vim busybox.yaml
- 87 kubectl api-resources | less
- 88 kubectl explain pods
- 89 kubectl explain pods.spec
- 90 kubectl explain pods.spec | less
- 91 kubectl explain pods.spec.containers
- 92 kubectl explain --recursive pods.spec.containers
- 93 ./countdown 12
- 94 vim busybox.yaml
- 95 kubectl create -f busybox.yaml
- 96 vim busybox.yaml
- 97 kubectl create -f busybox.yaml
- 98 vim busybox.yaml
- 99 kubectl create -f busybox.yaml
- 100 kubectl run mywhatever --image=nginx --dry-run=client -o yaml > whatever.yaml
- 101 vim whatever.yaml
- 102 kubectl run busypod --image=busybox --restart=Never --command -- /bin/sh
- 103 kubectl get pods
- 104 kubectl get pods busypod -o yaml > busypod.yaml
- 105 vim busypod.yaml
- 106 kubectl run busypod --image=busybox --restart=Never --dry-run=client -o yaml --command -- /bin/sh
- 107 vim ~/.vimrc
- 108 vim sidecar.yaml
- 109 kubectl create -f sidecar.yaml
- 110 kubectl get pods
- 111 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement