Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 minikube start --vm-driver=docker
- 2 history
- 3 ls
- 4 minikube status
- 5 minikube dashboard
- 6 kubectl get all
- 7 curl 10.99.11.196
- 8 minikube ssh
- 9 ls
- 10 kubectl version
- 11 ls
- 12 ./countdown 13
- 13 kubectl api-resources | less
- 14 kubectl get all
- 15 kubectl get pods -o wide
- 16 kubectl delete pod removemeginx-b4b69d8d7-qkmmp
- 17 kubectl get all
- 18 kubectl api-versions
- 19 minikube ssh
- 20 kubectl --v=10 get pods
- 21 kubectl proxy --port=8001 &
- 22 curl http://localhost:8001/version
- 23 curl http://localhost:8001/api/v1/namespaces/default/pods
- 24 curl http://localhost:8001/api/v1/namespaces/default/pods/removemeginx-b4b69d8d7-4mds4
- 25 curl -XDELETE http://localhost:8001/api/v1/namespaces/default/pods/removemeginx-b4b69d8d7-4mds4
- 26 kubectl get pods
- 27 kubectl -h
- 28 kubectl -h | less
- 29 kubectl create -h | less
- 30 kubectl create serviceaccount -h | less
- 31 kubectl completion -h
- 32 source <(kubectl completion bash)
- 33 kubectl config view
- 34 cd ~/.kube/c
- 35 cd ~/.kube/
- 36 vim config
- 37 cd -
- 38 history; sleep 2; ./countdown 12
- 39 history; sleep 120; ./countdown 10
- 40 kubectl get pods
- 41 kubectl run -h | less
- 42 kubectl run ghost --image=ghost:0.9
- 43 kubectl get pods
- 44 kubectl describe pod ghost
- 45 kubectl get pods ghost
- 46 kubectl get pods ghost -o yaml | less
- 47 kubectl get pods
- 48 kubectl delete pod ghost
- 49 kubectl get pods
- 50 kubectl explain pods
- 51 kubectl explain pods.spec
- 52 kubectl explain pods.spec.containers
- 53 kubectl explain --recursive pods.spec | less
- 54 history
- 55 kubectl run ghost --image=ghost:0.9 --dry-run=client -o yaml > myghost.yaml
- 56 vim myghost.yaml
- 57 kubectl api-resources | less
- 58 vim myghost.yaml
- 59 kubectl create -f myghost.yaml
- 60 vim myghost.yaml
- 61 kubectl apply -f myghost.yaml
- 62 kubectl replace -f myghost.yaml
- 63 kubectl get pods
- 64 history
- 65 kubectl delete -f myghost.yaml
- 66 vim myghost.yaml
- 67 kubectl apply -f myghost.yaml
- 68 vim myghost.yaml
- 69 kubectl apply -f myghost.yaml
- 70 ./countdown 10
- 71 vim sidecar.yaml
- 72 kubectl create -f sidecar.yaml
- 73 kubectl exec -it sidecar-pod -c sidecar /bin/bash
- 74 vim morevolumes.yaml
- 75 vim initpod.yaml
- 76 kubectl create -f initpod.yaml
- 77 kubectl get pods
- 78 kubectl delete -f initpod.yaml
- 79 vim initpod.yaml
- 80 kubectl create -f initpod.yaml
- 81 kubectl get pods
- 82 vim sidecar.yaml
- 83 kubectl run mydb --image=mariadb
- 84 kubectl get all
- 85 kubectl describe pod mydb
- 86 kubectl logs mydb
- 87 kubectl delete pod mydb
- 88 kubectl run -h | less
- 89 kubectl run mydb --image=mariadb --env=MARIADB_ROOT_PASSWORD=password
- 90 kubectl get pods
- 91 kubectl exec -it mydb -- sh
- 92 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement