Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- student@student-virtual-machine:~/istio-1.13.1$ history
- 1 minikube start --vm-driver=docker
- 2 minikube status
- 3 kubectl get all
- 4 history
- 5 kubectl create deploy mynginx --image=nginx --replicas=3
- 6 kubectl get all
- 7 source <(kubectl completion bash)
- 8 kubectl delete pod mynginx-6b78685d4d-548nj
- 9 kubectl get all
- 10 ls
- 11 ./countdown 12
- 12 ls
- 13 kubectl create deployment mynginx --image=nginx --replicas=3 --dry-run=client -o yaml > mynginx.yaml
- 14 vim mynginx.yaml
- 15 kubectl explain deploy.spec
- 16 kubectl explain deploy.spec.template
- 17 kubectl apply -f mygninx.yaml
- 18 kubectl apply -f mynginx.yaml
- 19 kubectl get all
- 20 kubectl run -h | less
- 21 kubectl run mydb --image=mariadb
- 22 kubectl get all
- 23 kubectl describe pod mydb | less
- 24 kubectl logs mydb
- 25 ls
- 26 vim pv.yaml
- 27 kubectl create -f pv.yaml
- 28 kubectl get pv
- 29 vim pvc.yaml
- 30 vim pv-pod.yaml
- 31 kubectl create -f pv-pod.yaml
- 32 kubectl get pv,pvc
- 33 kubectl get storageclass
- 34 kubectl create deploy mydb --image=mariadb --replicas=
- 35 kubectl create deploy mydb --image=mariadb --replicas=3
- 36 kubectl get all --selector app=mydb
- 37 kubectl logs mydb-fb7ff4d78-v54c6
- 38 kubectl create cm mydbcm --from-literal=MARIADB_ROOT_PASSWORD=password
- 39 kubectl describe cm mydbcm
- 40 kubectl set env --from=configmap/mydbcm deploy/mydb
- 41 kubectl get all --selector app=mydb
- 42 vim nginx-custom-config.conf
- 43 kubectl create cm nginx-cm --from-file nginx-custom-config.conf
- 44 kubectl get cm nginx-cm -o yaml
- 45 rm nginx-custom-config.conf
- 46 kubectl get cm nginx-cm -o yaml
- 47 vim nginx-cm.yaml
- 48 kubectl create -f nginx-cm.yaml
- 49 kubectl exec -it nginx-cm -- cat /etc/nginx/conf.d/default.conf
- 50 ./countdown 12
- 51 kubectl create deploy nginxsvc --image=nginx
- 52 kubectl scale deploy nginxsvc --replicas=3
- 53 kubectl get all --selector app=nginxsvc
- 54 kubectl get all --selector app=nginxsvc -o wide
- 55 kubectl expose deploy nginxsvc --port=80
- 56 kubectl get all --selector app=nginxsvc -o wide
- 57 kubectl describe svc nginxsvc
- 58 curl 10.101.150.43
- 59 minikube ssh
- 60 kubectl edit svc nginxsvc
- 61 kubectl get svc
- 62 minikube ip
- 63 curl 192.168.49.2:32483
- 64 minikube addons list
- 65 minikube addons enable ingress
- 66 kubectl get svc
- 67 vim nginxsvc-ingress.yaml
- 68 kubectl apply -g nginxsvc-ingress.yaml
- 69 kubectl apply -f nginxsvc-ingress.yaml
- 70 kubectl api-versions | grep ingress
- 71 kubectl api-versions
- 72 kubectl api-resources | less
- 73 vim nginxsvc-ingress.yaml
- 74 kubectl apply -f nginxsvc-ingress.yaml
- 75 vim nginxsvc-ingress.yaml
- 76 kubectl apply -f nginxsvc-ingress.yaml
- 77 kubectl get ingress
- 78 minikube ip
- 79 sudo vim /etc/hosts
- 80 kubectl get ingress
- 81 curl nginxsvc.info
- 82 kubectl get pods -A
- 83 vim kustomization.yaml
- 84 cat deployment.yaml
- 85 less deployment.yaml
- 86 cat service.yaml
- 87 kubectl apply -k .
- 88 cat kustomization.yaml
- 89 kubectl get deploy --show-labels
- 90 less deployment.yaml
- 91 cat kustomization.yaml
- 92 kubectl get all
- 93 ls
- 94 tree lesson13lab/
- 95 ls -lR lesson*/
- 96 cd lesson6lab/
- 97 vim kustomization.yaml
- 98 vim mysql-deployment.yaml
- 99 vim wordpress-deployment.yaml
- 100 kubectl create -k .
- 101 kubectl get secrets
- 102 kubectl get cm
- 103 kubectl get pvc
- 104 kubectl get pods
- 105 kubectl get svc
- 106 minikube service wordpress --url
- 107 cd ..
- 108 ./countdown 20
- 109 cd
- 110 curl -L https://istio.io/downloadIstio | sh -
- 111 cd istio-1.13.1/
- 112 ls
- 113 sudo cp bin/istioctl /usr/bin/
- 114 istioctl install --set profile=demo -y
- 115 kubectl get all -n istio-system
- 116 kubectl get crds
- 117 kubectl api-resources
- 118 kubectl api-resources | grep istio
- 119 kubectl get pods
- 120 kubectl label namespaces default istio-injection=enabled
- 121 kubectl get pods
- 122 ../microservices/countdown 12
- 123 kubectl apply -f samples/bookinfo/platform/kube/bookinfo
- 124 kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
- 125 kubectl get svc
- 126 kubectl exec "$(kubectl get pod -l app=ratings -o jsonpath='{.items[0].metadata.name}')" -c ratings -- curl -sS productpage:9080/productpage
- 127 kubectl exec "$(kubectl get pod -l app=ratings -o jsonpath='{.items[0].metadata.name}')" -c ratings -- curl -sS productpage:9080/productpage | grep -o "<title>.*</title>"
- 128 vim samples/bookinfo/networking/bookinfo-gateway.yaml
- 129 kubectl apply -f samples/bookinfo/networking/bookinfo-gateway.yaml
- 130 istioctl analyze
- 131 istioctl --help
- 132 istioctl analyze
- 133 kubectl get pods
- 134 kubectl describe pod productpage-v1-65b75f6885-rsltj
- 135 vim setup_istio_vars.sh
- 136 source setup_istio_vars.sh
- 137 echo http://$GATEWAY_URL/productpage
- 138 kubectl apply -f samples/addons
- 139 cd ../istio-1.13.1/
- 140 kubectl apply -f samples/addons
- 141 kubectl rollout status deployment kiali -n istio-system
- 142 kubectl get all -n istio-system
- 143 kubectl get pods
- 144 kubectl rollout status deployment kiali -n istio-system
- 145 istioctl dashboard kiali
- 146 bg
- 147 for i in $(seq 1 100); do curl -s -o /dev/null "http://$GATEWAY_URL/productpage"; done
- 148 kubectl get all
- 149 kubectl delete deploy mydb
- 150 kubectl delete deploy mynginx
- 151 kubectl delete deploy wordpress
- 152 kubectl delete deploy wordpress-mysql
- 153 for i in $(seq 1 100); do curl -s -o /dev/null "http://$GATEWAY_URL/productpage"; done
- 154 vim samples/bookinfo/networking/destination-rule-all.yaml
- 155 kubectl get destinationrules
- 156 kubectl apply -f samples/bookinfo/networking/destination-rule-all.yaml
- 157 vim samples/bookinfo/networking/virtual-service-all-v1.yaml
- 158 kubectl apply -f samples/bookinfo/networking/virtual-service-all-v1.yaml
- 159*
- 160 kubectl get virtualservices -o yaml
- 161 kubectl delete -f samples/bookinfo/networking/virtual-service-all-v1.yaml
- 162 vim samples/bookinfo/networking/virtual-service-reviews-50-v3.yaml
- 163 kubectl apply -f samples/bookinfo/networking/virtual-service-reviews-50-v3.yaml
- 164 history
Advertisement
Add Comment
Please, Sign In to add comment