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 history
- 4 kubectl get all
- 5 minikube status
- 6 kubectl get all
- 7 minikube --help
- 8 minikube ssh
- 9 minikube dashboard
- 10 bg
- 11 kubectl get all
- 12 ./countdown 15
- 13 kubectl get all
- 14 kubectl get all -o wide
- 15 kubectl --help | less
- 16 kubectl completion --help
- 17 kubectl completion --help | less
- 18 source <(kubectl completion bash)
- 19 cd
- 20 ls -a
- 21 cd .kube/
- 22 ls
- 23 cat config
- 24 pwd
- 25 kubectl config view
- 26 cd
- 27 cd ckad/
- 28 ls
- 29 cd dockerfile/
- 30 ls
- 31 vim Dockerfile
- 32 docker run -t mymap .
- 33 docker build -t mymap .
- 34 docker images
- 35 cd ..
- 36 docker run mymap
- 37 docker run -it mymap sh
- 38 cd dockerfile/
- 39 vim Dockerfile
- 40 docker build -t taketwo .
- 41 docker run taketwo
- 42 docker run -it taketwo sh
- 43 minikube ssh
- 44 kubectl get pods
- 45 kubectl get pods imback-7f9f7d658b-kkjqt -o yaml | less
- 46 kubectl get all
- 47 kubectl delete pod imback-7f9f7d658b-kkjqt
- 48 kubectl get all
- 49 kubectl run -h | less
- 50 kubectl run hazelcast --image=hazelcast/hazelcast --port=5701
- 51 kubectl get pods
- 52 kubectl describe pod hazelcast
- 53 kubectl get pods
- 54 history
- 55 kubectl delete pod hazelcast
- 56 kubectl get pods
- 57 cd ..
- 58 ./countdown 12
- 59 history
- 60 kubectl run hazelcast --image=hazelcast/hazelcast --port=5701
- 61 history
- 62 kubectl get pods
- 63 kubectl get pods hazelcast -o yaml | less
- 64 kubectl describe pods hazelcast
- 65 kubectl describe pods hazelcast | less
- 66 kubectl run mydb --image=mariadb
- 67 kubectl get pods
- 68 kubectl describe pods mydb
- 69 kubectl logs mydb
- 70 kubectl get pods
- 71 history
- 72 kubectl get pods hazelcast -o yaml | less
- 73 kubectl explain pod.spec | less
- 74 kubectl run hazelcast --image=hazelcast/hazelcast --port=5701 --dry-run=client -o yaml
- 75 kubectl run hazelcast --image=hazelcast/hazelcast --port=5701 --dry-run=client -o yaml > hazelcast.yam l
- 76 vim hazelcast.yam
- 77 kubectl explain pods.spec | less
- 78 kubectl create deploy sadep --image=nginx --replicas=3 --dry-run=client -o yaml
- 79 vim hazelcast.yam
- 80 kubectl get pods hazelcast -o yaml | less
- 81 kubectl get pods hazelcast -o yaml > hazelnut.yaml
- 82 vim hazelnut.yaml
- 83 history
- 84 ./countdown 1
- 85 kubectl run --help | less
- 86 kubectl run dryrun --image=nginx --dry-run=server -o yaml
- 87 kubectl get pods
- 88 kubectl run dryrun --image=nginx --dry-run=server -o yaml
- 89 vim sidecar.yaml
- 90 kubectl create -f sidecar.yaml
- 91 kubectl get pods
- 92 kubectl exec -it sidecar-pod -c sidecar -- /bin/bash
- 93 vim morevolumes.yaml
- 94 ./countdown 12
- 95 vim init-example1.yaml
- 96 kubectl create -f init-example1.yaml
- 97 kubectl get pods
- 98 vim init-example2.yaml
- 99 kubectl create -f init-example2.yaml
- 100 kubectl get pods
- 101 kubectl get ns
- 102 kubectl get pods
- 103 kubectl get pods -n kube-system,
- 104 kubectl get pods -n kube-system
- 105 kubectl create namespace mynamespace
- 106 kubectl run myhttp --image=httpd -n mynamespace
- 107 kubectl get pods
- 108 kubectl get pods -n mynamespace
- 109 kubectl config set-context --current --namespace=mynamespace
- 110 kubectl get pods
- 111 kubectl config set-context --current --namespace=default
- 112 kubectl get pods
- 113 history
- 114 kubectl get pods -A
- 115 kubectl exec -it hazelcast -- sh
- 116 kubectl explain pods.spec.securitycontext
- 117 kubectl explain pods.spec | less
- 118 kubectl explain pods.spec.securityContext
- 119 vim securitycontextdemo2.yaml
- 120 kubectl create -f securitycontextdemo2.yaml
- 121 kubectl exec -it security-context-demo -- sh
- 122 cat securitycontextdemo2.yaml
- 123 kubectl apply -f securitycontextdemo.yaml
- 124 kubectl get pods
- 125 vim securitycontextdemo.yaml
- 126 kubectl describe pods nginxsecure
- 127 kubectl create job onejob --image=busybox -- date
- 128 kubectl get jobs
- 129 kubectl get pods
- 130 kubectl get jobs onejob -o yaml | less
- 131 kubectl delete job onejob
- 132 kubectl create job mynewjob --image=busybox --dry-run=client -o yaml -- sleep 5 > mynewjob.yaml
- 133 vim mynewjob.yaml
- 134 kubectl create -f mynewjob.yaml
- 135 kubectl get jobs,pods
- 136 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement