Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 sudo dnf install -y vim git
- 2 git clone https://github.com/sandervanvugt/ckad
- 3 sudo -i
- 4 history
- 5 sudo -i
- 6 cd ckad/
- 7 cat kube-setup.sh
- 8 minikube start --memory 4096 --vm-driver=kvm2
- 9 minikube status
- 10 kubectl get all
- 11 minikube ssh
- 12 kubectl get all --all-namespaces
- 13 minikube dashboard
- 14 kubectl get all
- 15 ls
- 16 ./countdown 12
- 17 kubectl --help | less
- 18 kubectl completion -h | less
- 19 source <(kubectl completion bash)
- 20 kubectl create deployment --image=nginx
- 21 kubectl create deployment -h | less
- 22 kubectl create deployment --image=nginx demo1nginx
- 23 sudo rpm -qa | grep completion
- 24 kubectl get pods --name-space kube-system
- 25 kubectl get pods --namespace kube-system
- 26 ./countdown 13
- 27 kubectl api-resources | less
- 28 sudo grep vmx /proc/cpuinfo
- 29 kubectl api-versions
- 30 kubectl api-versions | less
- 31 ls
- 32 vim nginx-cm.yml
- 33 kubectl version
- 34 minikube status
- 35 minikube --help
- 36 minikube version
- 37 history
- 38 kubectl proxy --port=8001 &
- 39 ls ~/.kube/
- 40 cat ~/.kube/config
- 41 curl http://localhost:8001/version
- 42 kubectl get pods
- 43 curl http://localhost:8001/api/v1/namespaces/defaults/pods
- 44 curl http://localhost:8001/api/v1/namespaces/defaults/pods/
- 45 curl http://localhost:8001/api/v1/namespaces/default/pods
- 46 curl http://localhost:8001/api/v1/namespaces/default/pods | less
- 47 curl http://localhost:8001/api/v1/namespaces/default/pods/dashnginx-d68cfc7df-gtxbg
- 48 curl http://localhost:8001/api/v1/namespaces/default/pods/dashnginx-d68cfc7df-gtxbg | less
- 49 curl -XDELETE http://localhost:8001/api/v1/namespaces/default/pods/dashnginx-d68cfc7df-gtxbg
- 50 kubectl get pods
- 51 history
- 52 cat ~/.kube/config
- 53 kubectl config view
- 54 kubectl run --image=ghost ghost01
- 55 kubectl run --help | less
- 56 kubectl get pods
- 57 kubectl delete pods ghost01
- 58 kubeclt get pods
- 59 kubectl get pods
- 60 vim busybox.yaml
- 61 kubectl apply -f busybox.yaml
- 62 kubectl get pods
- 63 kubectl get pods busybox2 -o yaml
- 64 kubectl get pods busybox2 -o yaml | less
- 65 kubectl describe pods busybox2
- 66 kubectl describe pods busybox2 | less
- 67 kubectl edit busybox
- 68 kubectl edit pod busybox
- 69 kubectl edit pod busybox2
- 70 ./countdown 12
- 71 vim busybox.yaml
- 72 kubectl explain pods
- 73 kubectl explain pods.metadata | less
- 74 kubectl explain pods.spec | less
- 75 kubectl explain pods.spec.containers | less
- 76 kubectl explain pods.spec.containers.imagePullPolicy | less
- 77 kubectl explain pods.spec --recursive
- 78 kubectl explain pods.spec | grep -A5 -B5 imagePul
- 79 kubectl explain pods.spec --recursive | grep -A5 -B5 imagePul
- 80 kubectl explain pods.spec --recursive | less
- 81 kubectl run busypod --image=busybox --restart=Never --command -- /bin/sh
- 82 kubectl get pods busypod -o yaml >busyyaml.yaml
- 83 vim busyyaml.yaml
- 84 kubectl create deployment -h
- 85 kubectl create deployment my-failure --image=busybox --dry-run=client -o yaml > myfailure.yaml
- 86 vim myfailure.yaml
- 87 kubectl create -f myfailure.yaml
- 88 kubectl create deployment -h | less
- 89 kubectl get deployments.apps
- 90 kubectl get pods
- 91 kubectl describe pod my-failure-7fbcdfb77b-rd7wp | less
- 92 vim busybox.yaml
- 93 vim myfailure.yaml
- 94 kubectl get pods
- 95 kubectl describe pod my-failure-7fbcdfb77b-rd7wp | less
- 96 vim ~/.vimrc
- 97 cat ~/.vimrc
- 98 vim sidecar.yaml
- 99 kubectl create -f sidecar.yaml
- 100 kubectl exec -it sidecar-pod -c sidecar /bin/bash
- 101 vim sidecar.yaml
- 102 history
Add Comment
Please, Sign In to add comment