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 --cni=calico
- 2 kubectl get all
- 3 minikube status
- 4 minikube ssh
- 5 minikube dashboard
- 6 bg
- 7 kubectl get all
- 8 source <(kubectl completion bash)
- 9 kubectl get all
- 10 kubectl create deployment firstginx --image=nginx --replicas=3
- 11 kubectl get all
- 12 history
- 13 kubectl completion -h | less
- 14 kubectl scale deployment --replicas=1
- 15 kubectl scale deployment firstginx --replicas 1
- 16 kubectl get all
- 17 kubectl scale deployment firstginx --replicas 3
- 18 history
- 19 kubectl get pods
- 20 kubectl get pods -o wide
- 21 history
- 22 kubectl -h | less
- 23 kubectl create -h | less
- 24 kubectl create deploy -h | less
- 25 ls
- 26 history
- 27 cd
- 28 git clone https://github.com/sandervanvugt/ckad
- 29 cd ckad
- 30 cd dockerfile/
- 31 ls
- 32 vim Dockerfile
- 33 docker build . -t centmap
- 34 docker images
- 35 docker save --help
- 36 cd ..
- 37 ./countdown 12
- 38 history
- 39 kubectl run -h | less
- 40 kubectl run hazelcast --image=hazelcast/hazelcast --env="DNS_DOMAIN=cluster" --env="POD_NAMESPACE=default"
- 41 kubectl get pods
- 42 kubectl get pods hazelcast -o json | less
- 43 kubectl get pods hazelcast -o yaml | less
- 44 kubectl describe pod hazelcast | less
- 45 kubectl get pods
- 46 kubectl delete pod firstginx-7c4fcf6b55-w6pd2
- 47 kubectl get pods
- 48 kubectl get all
- 49 kubectl delete pod hazelcast
- 50 kubectl get all
- 51 kubectl scale deployment firstginx --replicas 2
- 52 kubectl get all
- 53 kubectl delete replicasets.apps firstapp-568f648dc5
- 54 kubectl get all
- 55 kubectl delete deploy firstapp
- 56 kubectl get all
- 57 history
- 58 kubectl get deployments.apps -o yaml | less
- 59 kubectl get deployments.apps firstginx -o yaml | less
- 60 kubectl explain pod
- 61 kubectl explain pod.spec | less
- 62 kubectl explain pod.spec.volumes | less
- 63 kubectl run yournginx --image=nginx --dry-run=client -o yaml
- 64 kubectl run yournginx --image=nginx --dry-run=client -o yaml > yournginx.yaml
- 65 kubectl explain pod.spec
- 66 kubectl explain pod.spec | less
- 67 vim yournginx.yaml
- 68 kubectl create -f yournginx.yaml
- 69 kubectl apply -f yournginx.yaml
- 70 kubectl run -h | less
- 71 kubectl create -h | less
- 72 history
- 73 vim sidecar.yaml
- 74 kubectl create -f sidecar.yaml
- 75 kubectl get pods
- 76 kubectl describe pod sidecar-pod
- 77 kubectl exec -it sidecar-pod -c sidecar -- /bin/bash
- 78 ./countdown 12
- 79 cat sidecar.yaml
- 80 vim initone.yaml
- 81 kubectl apply -f initone.yaml
- 82 kubectl get pods
- 83 cat initone.yaml
- 84 kubectl get pods
- 85 kubectl describe pod initone
- 86 kubectl get pods
- 87 vim initone.yaml inittwo.yaml
- 88 vim inittwo.yaml
- 89 cp initone.yaml inittwo.yaml
- 90 vim inittwo.yaml
- 91 kubectl apply -f inittwo.yaml
- 92 kubectl get pods
- 93 kubectl delete pod initone
- 94 history
- 95 kubectl get all
- 96 kubectl get ns
- 97 kubectl create ns secret
- 98 kubectl get ns
- 99 kubectl run secretpod --image=nginx -n secret
- 100 kubectl get pods
- 101 kubectl get pods -n secret
- 102 kubectl get pods -A
- 103 kubectl config view
- 104 kubectl config set-context --current secret
- 105 kubectl config set --current secret
- 106 kubectl config --help
- 107 kubectl config set-context --current ns=secret
- 108 kubectl config set-context --current --ns=secret
- 109 kubectl config set-context --current --namespace=secret
- 110 kubectl config set-context -h | less
- 111 kubectl get pods
- 112 kubectl config set-context --current --namespace=default
- 113 kubectl get pods
- 114 history
- 115 kubectl explain pod
- 116 kubectl explain pod.spec
- 117 kubectl describe pod yournginx
- 118 kubectl get pods
- 119 kubectl exec -it firstginx-7c4fcf6b55-6r9zl -- sh
- 120 kubectl logs yournginx
- 121 kubectl describe pods yournginx | less
- 122 history
Add Comment
Please, Sign In to add comment