Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 apt install vim git
- 2 sudo apt install vim git
- 3 git clone https://github.com/sandervanvugt/microservices
- 4 cd microservices/
- 5 ls
- 6 vim kube-setup.sh
- 7 ./kube-setup.sh
- 8 sudo reboot
- 9 cd microservices/
- 10 ls
- 11 tail kube-setup.sh
- 12 minikube start --memory 4096 --vm-driver=kvm2
- 13 kubectl get all
- 14 cd ..
- 15 free -m
- 16 df -h
- 17 sudo grep vmx /proc/cpuinfo
- 18 history
- 19 cd microservices/
- 20 ls
- 21 history
- 22 cd ..
- 23 git clone https://github.com/sandervanvugt/luth
- 24 luth/countdown 12
- 25 history
- 26 minikube status
- 27 minikube dashboard
- 28 kubectl help | less
- 29 kubectl completion -h | less
- 30 source <(kubectl completion bash)
- 31 kubectl get all
- 32 kubectl delete pod nonginx-bd877969b-g6d7x ; kubectl get all
- 33 kubectl create deployment -h | less
- 34 kubectl create deployment my-dep --image=busybox -- sleep 3600
- 35 kubectl get all
- 36 kubectl describe service nonginx
- 37 kubectl run -h | less
- 38 kubectl run nginx --image=nginx
- 39 kubectl get all
- 40 kubectl delete pod nginx
- 41 kubectl get all
- 42 kubectl run -h
- 43 kubectl run --image=mariadb
- 44 kubectl run --image=mariadb mydb
- 45 kubectl get pods
- 46 kubectl logs mydb
- 47 luth/countdown 12
- 48 cd microservices/
- 49 ls
- 50 cd lesson13lab/
- 51 ls
- 52 vim kustomization.yaml
- 53 kubectl kustomize -h | less
- 54 kubectl kustomize .
- 55 kubectl get all
- 56 kubectl create -h | less
- 57 kubectl create -k .
- 58 cd ..
- 59 ls
- 60 vim nfs-pv.yaml
- 61 vim nfs-pvc.yaml
- 62 vim nfs-pv-pod.yaml
- 63 cd lesson13lab/
- 64 vim wordpress-deployment.yaml
- 65 kubectl get configmaps
- 66 kubectl get configmaps wp-db-host-b6fk4hdcgd -o yaml | less
- 67 kubectl describe configmaps wp-db-host-b6fk4hdcgd
- 68 vim kustomization.yaml
- 69 kubectl describe secrets mysql-pass-7tt4f27774
- 70 kubectl get secrets mysql-pass-7tt4f27774 -o yaml
- 71 echo cGFzc3dvcmQ= | base64 -d
- 72 vim wordpress-deployment.yaml
- 73 kubectl describe pvc wp-pv-claim
- 74 kubectl get pvc
- 75 kubectl get deployments
- 76 kubectl get pods
- 77 kubectl get services
- 78 minikube service wordpress --url
- 79 curl http://192.168.39.147:31866
- 80 cd
- 81 curl https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/
- 82 history
Add Comment
Please, Sign In to add comment