Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- student@control:~/kube3weeks$ history
- 1 exit
- 2 free -m
- 3 lscpu | less
- 4 df -h
- 5 git clone https://github.com/sandervanvugt/kube3weeks
- 6 cd kube3weeks/
- 7 ./countdown 15
- 8 ls -l *sh
- 9 cd ..
- 10 cd kube3weeks/
- 11 git pull
- 12 history
- 13 vim setup-container.sh
- 14 ./setup-container.sh
- 15 sudo systemctl status containerd
- 16 history
- 17 ./setup-kubetools.sh
- 18 sudo ./setup-kubetools.sh
- 19 sudo kubeadm init
- 20 mkdir -p $HOME/.kube
- 21 kubectl get all
- 22 ls cal*
- 23 kubectl apply -f calico.yaml
- 24 history
- 25 sudo systemctl status containerd
- 26 free -m
- 27 history
- 28 kubectl get all
- 29 source <(kubectl completion bash)
- 30 kubectl create deploy myfirstapp --image=nginx --replicas=3
- 31 kubectl get all
- 32 history
- 33 kubectl get all
- 34 kubectl delete pod myfirstapp-ff8c4b4d4-fkg4h
- 35 kubectl get all
- 36 history
- 37 kubectl run lonelypod --image=nginx
- 38 kubectl get all
- 39 kubectl delete pod lonelypod
- 40 kubectl get all
- 41 history
- 42 sudo systemctl status containerd
- 43 sudo systemctl status kubelet
- 44 kubectl get pods -n kube-system
- 45 kubectl get all
- 46 kubectl config view
- 47 kubectl get nodes
- 48 kubectl edit nodes control
- 49 kubectl get all
- 50 history | grep create depl
- 51 history | grep 'create depl'
- 52 kubectl api-resources | less
- 53 kubectl explain pod.spec
- 54 kubectl explain pod.spec | less
- 55 history
- 56 kubectl run mynginx --image=nginx --dry-run=client -o yaml
- 57 kubectl run mynginx --image=nginx --dry-run=client -o yaml > mynginx.yaml
- 58 kubectl explain pods.spec
- 59 kubectl explain pods.spec.volumes
- 60 kubectl apply -f mynginx.yaml
- 61 kubectl create -f mynginx.yaml
- 62 kubectl get pods
- 63 kubectl delete -f mynginx.yaml
- 64 ./countdown 13
- 65 vim multicontainer.yaml
- 66 kubectl apply -f multicontainer.yaml
- 67 kubectl get pods
- 68 vim initcontainer.yaml
- 69 kubectl create -f initcontainer.yaml
- 70 kubectl get pods
- 71 kubectl get ns
- 72 kubectl get pods
- 73 kubectl get pods -n kube-system
- 74 kubectl create ns myns
- 75 kubectl get ns
- 76 kubectl run mypod --image=nginx -n myns
- 77 kubectl get pods
- 78 kubectl get pods -n myns
- 79 kubectl get pods -A
- 80 history
- 81 kubectl config set-context --current namespace=myns
- 82 kubectl config set-context --current --namespace=myns
- 83 kubectl get pods
- 84 kubectl config set-context --current --namespace=default
- 85 kubectl get pdos
- 86 kubectl get pods
- 87 kubectl config view
- 88 history
- 89 kubectl run mydb --image=mariadb
- 90 kubectl get pods
- 91 kubectl describe pods mydb
- 92 kubectl get pods
- 93 kubectl describe pod mydb | less
- 94 history
- 95 kubectl logs mydb
- 96 kubectl delete pod mydb
- 97 kubectl run -h | less
- 98 kubectl run dbsdb --image=mariadb --env MARIADB_ROOT_PASSWORD=password
- 99 kubectl get pods
- 100 ls
- 101 cd ..
- 102 cd kube3weeks/
- 103 git pull
- 104 vim frontend-resources.yaml
- 105 kubectl apply -f frontend-resources.yaml
- 106 kubectl get pods
- 107 kubectl describe pod frontend
- 108 vim frontend-resources.yaml
- 109 kubectl delete pod frontend
- 110 kubectl apply -f frontend-resources.yaml
- 111 kubectl get pods
- 112 kubectl describe pod frontend
- 113 kubectl delete pod frontend
- 114 kubectl run busy --image=busybox
- 115 kubectl get pods
- 116 kubectl describe pod busy | less
- 117 kubectl logs busy
- 118 history
- 119 kubectl get pods -o wide
- 120 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement