Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- student@student-virtual-machine:~/ckad$ history
- 1 history
- 2 minikube start --vm-driver=docker --cni=calico
- 3 kubectl get all
- 4 ./countdown 2
- 5 minikube dashboard
- 6 source <(kubectl completion bash)
- 7 kubectl create deploy apptwo --image=nginx --replicas=3
- 8 kubectl get all
- 9 history
- 10 ./countdown 15
- 11 kubectl get all
- 12 kubectl delete pod appone-dcc78d77f-mrz5r
- 13 kubectl get all
- 14 kubectl create deploy appthree --image=nginx
- 15 kubectl get all
- 16 kubectl create -h
- 17 kubectl create -h | less
- 18 kubectl create deploy -h | less
- 19 kubectl completion -h | less
- 20 kubectl get pods
- 21 kubectl get pods appthree-dd4b5fc5d-vsmc4 -o yaml | less
- 22 ls
- 23 cd dockerfile/
- 24 ls
- 25 vim Dockerfile
- 26 docker build -t centmap:1.0 .
- 27 docker images
- 28 cd ..
- 29 ls
- 30 cd alpmap/
- 31 ls
- 32 vim Containerfile
- 33 docker build -t alpmap .
- 34 mv Containerfile Dockerfile
- 35 docker build -t alpmap .
- 36 touch sander.repo
- 37 docker build -t alpmap .
- 38 docker images
- 39 docker save alpmap
- 40 docker save --help | less
- 41 docker save alpmap -o alpmap.tgz
- 42 ls -l alpmap.tgz
- 43 file alpmap.tgz
- 44 kubectl explain pod.spec | less
- 45 kubectl get all
- 46 kubectl delete pod appthree-dd4b5fc5d-vsmc4
- 47 kubectl get all
- 48 kubectl run alone --image=nginx
- 49 kubectl get all
- 50 kubectl delete pod alone
- 51 kubectl get all
- 52 history
- 53 kubectl run -h | less
- 54 kubectl get pods appthree-dd4b5fc5d-z58r2 -o yaml | less
- 55 kubectl describe pods appthree-dd4b5fc5d-z58r2 | less
- 56 cd ..
- 57 ./countdown 4
- 58 kubectl run busybox --image-busybox
- 59 kubectl run busybox --image=busybox
- 60 kubectl get pods
- 61 kubectl describe pod busybox
- 62 kubectl delete pod busybox
- 63 kubectl run busybox --image=busybox --restart=Never
- 64 kubectl get pods
- 65 ./countdown 12
- 66 kubectl get pods busybox -o yaml | less
- 67 ./countdown 12
- 68 kubectl explain pod
- 69 kubectl explain pod.spec
- 70 ls
- 71 vim busybox.yaml
- 72 kubectl run mynginx --image=nginx --dry-run=client -o yaml > mynginx.yaml
- 73 vim mynginx.yaml
- 74 kubectl create -f mynginx.yaml
- 75 kubectl remove -f mynginx.yaml
- 76 kubectl delete -f mynginx.yaml
- 77 kubectl apply -f mynginx.yaml
- 78 vim sidecar.yaml
- 79 kubectl apply -f sidecar.yaml
- 80 kubectl get pods
- 81 kubectl exec -it sidecar-pod -c sidecar -- /bin/bash
- 82 vim sidecar.yaml
- 83 vim bonuslab.txt
- 84 history
- 85 cat bonuslab.txt
- 86 cat sidecar.yaml
- 87 ls -lrt
- 88 history
- 89 cat bonuslab.txt
- 90 cat sidecard.yaml
- 91 vim init-example1.yaml
- 92 kubectl apply -f init-example1.yaml
- 93 kubectl get pods
- 94 vim init-example2.yaml
- 95 kubectl apply -f init-example2.yaml
- 96 kubectl get pods
- 97 kubectl describe pod init-demo2
- 98 kubectl get ns
- 99 kubectl get pods
- 100 kubectl get pods -A
- 101 kubectl create ns secret
- 102 kubectl run secretpod --image=nginx -n secret
- 103 kubectl get pods
- 104 kubectl get pods -n secret
- 105 kubectl config set-context --current --namespace=secret
- 106 kubectl get pods
- 107 kubectl config set-context --current -n default
- 108 kubectl config set-context --current --namespace=default
- 109 kubectl get pods
- 110 history
- 111 ./countdown 2
- 112 kubectl run faildb --image=mariadb
- 113 kubectl get pods
- 114 kubectl describe pod faildb | less
- 115 kubectl logs faildb
- 116 kubectl delete pod faildb
- 117 kubectl run faildb --image=mariadb --env MARIADB_ROOT_PASSWORD=password
- 118 kubectl get pods
- 119 kubectl run -h | less
- 120 kubectl explain --recursive pod.spec | less
- 121 kubectl explain pod.spec.containers | less
- 122 kubectl explain pod.spec.containers.securityContext
- 123 kubectl explain pod.spec.containers.securityContext | less
- 124 vim securitycontextdemo2.yaml
- 125 kubectl apply -f securitycontextdemo2.yaml
- 126 kubectl exec -it security-context-demo -- sh
- 127 kubectl apply -f securitycontextdemo.yaml
- 128 vim securitycontextdemo.yaml
- 129 kubectl get pods
- 130 kubectl describe pod nginxsecure
- 131 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement