Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- student@student-virtual-machine:~/ckad$ history
- 1 minikube start --vm-driver=docker
- 2 kubectl get all
- 3 free -m
- 4 df -h
- 5 lscpu
- 6 history
- 7 ls
- 8 minikube ssh
- 9 kubectl get all
- 10 minikube dashboard
- 11 kubectl get all
- 12 kubectl create deploy firstginx --image=nginx --replicas=3
- 13 kubectl create deploy cmdginx --image=nginx --replicas=3
- 14 kubectl get all
- 15 kubectl delete deploy cmdginx
- 16 kubectl get all
- 17 history
- 18 minikube --help | less
- 19 ./countdown 13
- 20 kubectl explain pod
- 21 kubectl explain pod.spec | less
- 22 kubectl explain pod.spec.container | less
- 23 kubectl explain pod.spec.containers | less
- 24 kubectl --help | less
- 25 kubectl completion --help | less
- 26 source <(kubectl completion bash)
- 27 kubectl completion --help | less
- 28 less ~/.kube/config
- 29 kubectl config view
- 30 kubectl get all
- 31 kubectl delete pod firstginx-58f758f4d9-9hnd4
- 32 kubectl get all
- 33 kubectl run --help | less
- 34 kubectl run hazelcast --image=hazelcast/hazelcast --env="DNS_DOMAIN=cluster" --env="POD_NAMESPACE=default"
- 35 kubectl get all
- 36 kubectl run --help
- 37 kubectl run --help | less
- 38 kubectl get all
- 39 kubectl delete pod hazelcast
- 40 kubectl get all
- 41 kubectl get pods
- 42 kubectl get pods firstginx-58f758f4d9-6zm4d -o yaml
- 43 kubectl describe pods firstginx-58f758f4d9-6zm4d
- 44 kubectl describe pods firstginx-58f758f4d9-6zm4d | less
- 45 history
- 46 kubectl get all
- 47 ./countdown 12
- 48 history
- 49 ls
- 50 vim mypod.yaml
- 51 sudo apt install vim
- 52 vim mypod.yaml
- 53 kubectl api-resources | less
- 54 vim mypod.yaml
- 55 kubectl api-resources | less
- 56 vim mypod.yaml
- 57 kubectl explain pod.spec | less
- 58 vim mypod.yaml
- 59 kubectl get pods firstginx-58f758f4d9-6zm4d -o yaml | less
- 60 kubectl run mynginx --image=nginx --dry-run=client -o yaml
- 61 kubectl run mynginx --image=nginx --dry-run=client -o yaml > mynginx.yaml
- 62 vim mynginx.yaml
- 63 kubectl create -f mynginx.yaml
- 64 kubectl get pods
- 65 kubectl delete -f mynginx.yaml
- 66 kubectl apply -f mynginx.yaml
- 67 kubectl get pods mynginx -o yaml
- 68 kubectl get pods mynginx -o yaml | less
- 69 vim mynginx.yaml
- 70 kubectl apply -f mynginx.yaml
- 71 kubectl get pods
- 72 vim sidecar.yaml
- 73 kubectl create -f sidecar.yaml
- 74 kubectl get pods
- 75 kubectl describe pod sidecar-pod | less
- 76 kubectl exec -it sidecar-pod -c sidecar -- /bin/bash
- 77 vim sidecar.yaml
- 78 ls
- 79 history
- 80 vim init-example1.yaml
- 81 kubectl create -f init-example1.yaml ; kubectl get pods
- 82 kubectl get pods
- 83 vim init-example2.yaml
- 84 kubectl create -f init-example2.yaml
- 85 kubectl get pods
- 86 cp init-example2.yaml multicontainer.yaml
- 87 vim multicontainer.yaml
- 88 ./countdown 12
- 89 history
- 90 kubectl exec -it sidecar-pod -c sidecar -- /bin/bash
- 91 kubectl exec -it sidecar-pod -c sidecar /bin/bash
- 92 kubectl get pods
- 93 kubectl get pods -A
- 94 kubectl get ns
- 95 kubectl get pods -A
- 96 kubectl get all -A
- 97 kubectl create ns secret
- 98 kubectl get ns
- 99 vim busybox-ns.yaml
- 100 kubectl create -f busybox-ns.yaml
- 101 kubectl get pods
- 102 vim busybox-ns.yaml
- 103 kubectl explain pod.metadata
- 104 kubectl create -f busybox-ns.yaml
- 105 kubectl get pods
- 106 kubectl get pods -A
- 107 kubectl get pods -n secret
- 108 kubectl run secretginx --image=nginx -n secret
- 109 kubectl run nginxlab --image=nginx
- 110 k
- 111 kubectl run mydb --image=mariadb
- 112 kubectl get pods
- 113 kubectl describe pod mydb | less
- 114 kubectl logs mydb
- 115 kubectl run mydb --image=mariadb --env MARIADB_ROOT_PASSWORD
- 116 kubectl run --help | less
- 117 kubectl run mydb --image=mariadb --env="MARIADB_ROOT_PASSWORD=password"
- 118 kubectl delete pod mydb
- 119 kubectl run mydb --image=mariadb --env="MARIADB_ROOT_PASSWORD=password"
- 120 kubectl get pods
- 121 history
- 122 kubectl get all
- 123 kubectl exec -it firstginx-58f758f4d9-6zm4d -- /bin/bash
- 124 kubectl exec -it busybox3 -- sh
- 125 kubectl describe pod nginxlab | less
- 126 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement