Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [student@localhost ckad]$ history
- 1 history
- 2 ls
- 3 sudo dnf install -y git bash-completion vim
- 4 git clone https://github.com/sandervanvugt/ckad
- 5 cd ckad
- 6 vim kube-setup.sh
- 7 minikube status
- 8 kubectl get all
- 9 minikube status
- 10 minikube --help | less
- 11 minikube ssh
- 12 kubectl get all
- 13 minikube dashboard
- 14 bg
- 15 kubectl get all
- 16 kubectl --help | less
- 17 sudo rpm -qa | grep bash-compl
- 18 kubectl completino -h
- 19 kubectl completion -h |less
- 20 source <(kubectl completion bash)
- 21 kubectl create deployment --image=nginx nginx2
- 22 kubectl get all
- 23 kubectl delete pod nginx2-5fc4444698-jl8v4
- 24 kubectl get pods
- 25 ls
- 26 ./countdown 12
- 27 vim kube-setup.sh
- 28 kubectl api-resources | less
- 29 kubectl api-versions | less
- 30 kubectl api-resources | grep pod
- 31 kubectl explain pods
- 32 ls
- 33 vim busybox.yaml
- 34 kubectl explain pod.spec
- 35 kubectl explain pod.spec | less
- 36 kubectl proxy --port=8001 &
- 37 curl http://localhost:8001/version
- 38 kubectl get pods
- 39 curl http://localhost:8001/api/v1/namespaces/default/pods
- 40 curl http://localhost:8001/api/v1/namespaces/default/pods | less
- 41 kubectl get pods
- 42 curl http://localhost:8001/api/v1/namespaces/default/pods/nginx2-5fc4444698-h8gll
- 43 kubectl get pods
- 44 curl -XDELETE http://localhost:8001/api/v1/namespaces/default/pods/nginx2-5fc4444698-h8gll
- 45 kubectl get pods
- 46 ./countdown 12
- 47 cd
- 48 cd .kube/
- 49 ls
- 50 vim config
- 51 kubectl config view
- 52 cd
- 53 kubectl run ghost --image=ghost:0.9
- 54 kubectl get pods
- 55 kubectl delete pod ghost
- 56 kubectl get pods
- 57 cd ckad/
- 58 vim busybox.yaml
- 59 kubectl apply -f busybox.yaml
- 60 kubectl get pods
- 61 kubectl get pods busybox2
- 62 kubectl get pods busybox2 -o yaml | less
- 63 cat busybox.yaml
- 64 kubectl describe pods busybox2 | less
- 65 kubectl edit pod busybox2
- 66 echo $EDITOR
- 67 echo "export EDITOR=/usr/bin/vim" >> ~/.bashrc
- 68 kubectl edit pod busybox2
- 69 export EDITOR=/usr/bin/vim
- 70 kubectl edit pod busybox2
- 71 kubectl get pods
- 72 kubectl get pods busybox2 -o yaml | less
- 73 history | grep run
- 74 kubectl run ghost --image=ghost:0.9
- 75 kubectl get pods ghost -o yaml | less
- 76 vim busybox.yaml
- 77 kubectl explain pod
- 78 kubectl explain pod.spec |less
- 79 kubectl explain pod.spec.containers |less
- 80 kubectl explain pod.spec.containers.image |less
- 81 kubectl explain --recursive pod.spec
- 82 kubectl explain --recursive pod.spec | less
- 83 ./countdown 12
- 84 echo hello
- 85 kubectl run nginx3 --image=nginx --dry-run=client -o yaml
- 86 kubectl run nginx3 --image=nginx --dry-run=client -o yaml > nginx3.yaml
- 87 kubectl get pods
- 88 kubectl create -f nginx3.yaml
- 89 kubectl get pods
- 90 kubectl run busypod --image=busybox --restart=Never --command -- /bin/sh
- 91 kubectl get pods busypod -o yaml > busypod.yaml
- 92 vim busypod.yaml
- 93 vim sleepy.yaml
- 94 kubectl create -f sleepy.yaml
- 95 kubectl get pods
- 96 kubectl logs sleepy
- 97 kubectl run mariadb --image=mariadb
- 98 kubectl get pods
- 99 kubectl logs mariadb
- 100 kubectl describe pod mariadb
- 101 kubectl logs mariadb
- 102 kubectl delete pod mariadb
- 103 kubectl run mariadb --image=mariadb -e MYSQL_ROOT_PASSWORD=password -e MYSQL_DATABASE=mydb
- 104 kubectl run -h | less
- 105 kubectl run mariadb --image=mariadb --env MYSQL_ROOT_PASSWORD=password --env MYSQL_DATABASE=mydb
- 106 kubectl get pods
- 107 history | grep busypod
- 108 vim sidecar.yaml
- 109 kubectl create -f sidecar.yaml
- 110 kubectl get pods
- 111 kubectl exec -it sidecar-pod /bin/bash
- 112 kubectl exec -it sidecar-pod -c sidecar -- /bin/bash
- 113 history
Add Comment
Please, Sign In to add comment