215 kubectl get deployments --all-namespaces 216 kubectl -n low-recource-range get pods 217 kubectl -n low-usage-limit get pods 218 kubectl -n low-recource-range get pods 219 kubectl -n low-usage-limit get pods 220 kubectl -n low-usage-limit get pod limited-hog-568fbbf4cf-2w6g7 -o yaml 221 cp hog.yaml hog2.yaml 222 vim hog2 223 vim hog2.yaml 224 kubectl create -f hog2.yaml 225 kubectl get deployments --all-namespaces 226 kubectl get nodes 227 kubectl get deployments --all-namespaces 228 kubectl create -f hog2.yaml 229 kubectl scale deployment hog --replicas=2 230 kubectl scale deployment hog --replicas=4 231 kubectl get nodes 232 kubectl get deployments --all-namespaces 233 kubectl scale deployment hog --replicas=0 234 kubectl scale deployment hog --replicas=1 235 kubectl get deployments --all-namespaces 236 kubectl -n low-usage-limit delete deployment hog 237 kubectl delete deployment hog 238 kubectl get deployments --all-namespaces 239 kubectl get pod 240 kubectl delete pod hog 241 kubectl get pod 242 kubectl get ? 243 kubectl get help 244 kubectl get --help 245 kubectl scale deployment hog --replicas=0 246 kubectl get pod 247 kubectl get --all-namespaces 248 kubectl get deployments --all-namespaces 249 pskill -p 18567 250 pkill -p 18567 251 pkill -ns 18567 252 sudo pkill -ns 18567 253 sudo pkill -ns 19059 254 kubectl get deployments --all-namespaces 255 kubectl delete deployment low-usage-limit 256 kubectl delete deployment * 257 pskill stress 258 pkill stress 259 sudo pkill stress 260 kubectl delete deployment 261 sudo pkill stress 262 kubectl get deployments 263 kubectl get --help 264 kubectl get deployments -allnamespaces 265 kubectl get deployments -all-namespaces 266 kubectl get deployments --all-namespaces 267 kubectl delete low-usage-limit 268 kubectl delete low-usage-limit -all-namespaces 269 kubectl delete low-usage-limit -all 270 kubectl delete low-usage-limit 271 kubectl get deployments --all-namespaces 272 kubectl delete limited-hog 273 bectl get services 274 kubectl get services 275 kubectl get pods --all-namespaces 276 kubectl delete pod low-usage-limit 277 kubectl delete pod limited-hog* 278 kubectl delete pod limited-hog-568fbbf4cf-2w6g7 279 kubectl delete limited-hog-568fbbf4cf-2w6g7 280 kubectl delete deployments limited-hog 281 kubectl delete deployment limited-hog 282 kubectl get deployment 283 kubectl get deployment --all-namespaces 284 kubectl delete deployment low-usage-limit 285 kubectl delete deployment low-usage-limit --al 286 kubectl delete deployment low-usage-limit --all 287 kubectl delete deployment low-usage-limit --all-namesapces 288 kubectl delete deployment low-usage-limit --all-namespaces 289 wget https://tinyurl.com/y8bn2awp -O complete-demo.yaml 290 less complete-demo.yaml 291 kubectl create namespace sock-shop 292 kubectl get namespace 293 grep image complete-demo.yaml 294 kubectl apply -n sock-shop -f complete-demo.yaml 295 kubectl het pods 296 kubectl ghet pods 297 kubectl get pods 298 kubectl -n sock-shop get pods 299 kubectl get svc -n sock-shop 300 kubectl get svc 301 kubectl get svc -n sock-shop 302 sudo docket ps 303 sudo docker ps 304 clear 305 sudo docker ps 306 kubectl get deployment --all-namespaces 307 kubectl 308 kubectl get nodes 309 kubectl drain lfs458-node-02 310 kubectl describe node | grep -i taint 311 kubectl drain lfs458-node-02 --igonore-daemonsets 312 kubectl drain lfs458-node-02 --ignore-daemonsets 313 kubectl drain lfs458-node-02 --ignore-daemonsets --delete-local-data 314 kubectl uncordon lfs458-node-02 315 kubectl describe node | grep -i taint 316 kubectl -n sock-shop get pod 317 kubectl -n sock-shop delete pod 318 kubectl -n sock-shop delete pod --all 319 kubectl -n sock-shop get pod 320 kubectl -n sock-shop get deployment 321 kubectl delete -f complete-demo.yaml 322 kubectl -n sock-shop get deployment 323 kubectl -n sock-shop get pod 324 kubectl resources 325 kubectl -resources 326 kubectl api-resources 327 kubectl config view 328 kubectl explain pod 329 kubectl explain 330 kubectl explain ippool 331 kubectl explain pod.status 332 export client 333 export client=$(grep client-cert ~/.kube/config | cut -d" " -f 6) 334 echo $client 335 export key=$(grep client-key-data ~/.kube/config | cut -d" " -f 6) 336 echo $key 337 export auth=$(grep certificate-authority-data ~/.kube/config | cut -d" " -f 6) 338 echo $auth 339 echo $client | base64 -d - > ./client.pem 340 echo $key | base64 -d - > ./client-key.pem 341 echo $auth | base64 -d - > ./ca.pem 342 cat client 343 cat client.pem 344 cat client-key.pem 345 cat ca.pem 346 kubectl config view | grep server 347 curl --cert ./client.pem --key ./client-key.pem --cacert ./ca.pem https://192.168.122.244:6443/api/v1/pods 348 vim curlpod.json 349 curl --cert ./client.pem --key ./client-key.pem --cacert ./ca.pem https://192.168.122.244:6443/api/v1/namespaces/default/pods -XPOST -H'Content-Type: application/json' -d@curlpod.json 350 kubectl get pods 351 kubectl get endpoints 352 stracekubectl get endpoints 353 strace kubectl get endpoints 354 cd /home/ubuntu/.kube/cache/discovery/ 355 ls 356 cd 192.168.122.244_6443/ 357 ls 358 find . 359 python -m json.tool v1/serverresources.json 360 kubectl get ep 361 python -m json.tool v1/serverresources.json | grep kind 362 python -m json.tool apps/v1beta/serverresources.json | grep kind 363 python -m json.tool apps/v1beta1/serverresources.json | grep kind 364 kubectl delete pod cur 365 kubectl delete pod curlpod 366 cd ./ 367 cd $/ 368 cd $./ 369 cd ~/ 370 curl --cert ./client.pem --key ./client-key.pem --cacert ./ca.pem https://192.168.122.244:6443/api/v2/pods 371 curl --cert ./client.pem --key ./client-key.pem --cacert ./ca.pem https://192.168.122.244:6443/api/v2 372 curl --cert ./client.pem --key ./client-key.pem --cacert ./ca.pem https://192.168.122.244:6443/api/v1/pods 373 kubectl get pods 374 kubectl get pods --all-namespaces 375 kubectl delete 376 kubectl get pods --all-namespaces 377 kubectl get resources --all-namespaces 378 kubectl get deployments --all-namespaces 379 kubectl remove deployments limited-hog 380 kubectl delte deployments limited-hog 381 kubectl delete deployments limited-hog 382 kubectl get deployments --all-namespaces 383 kubectl delete deployments low-usage-limit 384 kubectl get deployments --all-namespaces 385 kubectl delete pod low-usage-limit 386 kubectl get pods --all-namepaces 387 kubectl get pods --all-namespaces 388 kubectl delete pod limited-hog-568fbbf4cf-8vqbf 389 kubectl delete pod limited-hog* 390 kubectl delete pod limited-hog 391 kubectl delete pod limited-hog --all 392 kubectl delete limited-hog --all 393 kubectl delete low-usage-limit --all 394 kubectl get pods --all-namespaces 395 clear 396 kubectl get pods --all-namespaces 397 kubectl get secrets 398 kubectl describe secret default-token-69q2v 399 export token=$(kubectl describe secret default-token-69q2v | grep ^token |cut -f7 -d ' ') 400 curl https://192.168.122.244:6443/apis --header "Authorizzation: Bearer $token" -k 401 curl https://192.168.122.244:6443/api1 --header "Authorizzation: Bearer $token" -k 402 kubectl run -i -t busybox --image=busybox --restart=Never 403 kubectl proxy -h 404 kubectl proxy --api-prefix=/ & 405 curl http://127.0.0.1:8001/api 406 curl http://127.0.0.1:8001/api/v1/namespaces 407 vim jobyaml 408 kubectl create -f jobyaml 409 kubectl get job 410 kubectl describe jobs.batch sleepy 411 kubectl get job.batch sleepy -o yaml 412 mv jobyaml job.yaml 413 kubectl delete jobs.batch sleepy 414 vim job.yaml 415 kubectl create -f job.yaml 416 vim job.yaml 417 kubectl create -f job.yaml 418 vim job.yaml 419 kubectl create -f job.yaml 420 kubectl get job.batch 421 kubectl get pods 422 kubectl create -f job.yaml 423 kubectl get pods 424 kubectl delete jobs.batch sleepy 425 vim job.yaml 426 kubectl create -f job.yaml 427 kubectl get pods 428 vim job.yaml 429 kubectl delete jobs.batch sleepy 430 kubectl create -f job.yaml 431 kubectl get jobs 432 kubectl get pods 433 kubectl get jobs 434 kubectl get pods 435 kubectl get jobs 436 kubectl get pods 437 kubectl get jobs 438 kubectl get pods 439 kubectl get job sleepy -o yaml 440 kubectl get deployments 441 kubectl get deployments --all-namespaces 442 kubectl -n low-usage-limit delete deployments. 443 source <(kubectl completion bash) 444 kubectl delete jobs.batch sleepy 445 cp jobs.yaml cronjob.yaml 446 cp job.yaml cronjob.yaml 447 vim cronjob.yaml 448 rm cronjob.yaml 449 vim cronjob.yaml 450 kubectl create -f cronjob.yaml 451 vim cronjob.yaml 452 kubectl create -f cronjob.yaml 453 vim cronjob.yaml 454 kubectl create -f cronjob.yaml 455 kubectl get cronjobs.batch 456 kubectl create -f cronjob.yaml 457 vim cronjob.yaml 458 kubectl get cronjobs.batch 459 kubectl get jobs.batch 460 kubectl delete cronjobs.batch date 461 history 462 history > commandsdag1.txt 463 less commandsdag1.txt 464 ftp home.deds.nl/~kkp 465 ftp kkp@ftp.deds.nl 466 ping google.nl 467 ping deds.nl 468 ping ftp.deds.nl 469 ftp /? 470 ftp 471 ftp ftp.deds.nl 472 sudo -io 473 sudo -i 474 vim commandsdag1.txt 475 ftp 476 ftp ftp.deds.nl 477 kubectl get po 478 kubectl delete pod busybox 479 kubectl get po 480 kubectl get rs 481 vim rs.yaml 482 kubectl describe rs rs-one 483 kubectl create -f rs.yaml 484 kubectl describe rs rs-one 485 kubectl get rs 486 curl 127.0.0.1 487 kubectl get pods 488 kubectl delete rs rs-one --cascade=false 489 kubectl get pods 490 kubectl get rs 491 kubectl create -f rs.yaml 492 kubectl get rs 493 kubectl get pods 494 kubectl edit po rs-one-6gfzm 495 kubectl get pods 496 kubectl get rs 497 kubectl delete rs rs-one 498 kubectl get rs 499 kubectl get pods 500 kubectl delete pod -l system=IsolatedPod 501 cp rs.yaml ds.yaml 502 vi ds.yaml 503 kubectl create -f ds.yaml 504 kubectl get pod 505 kubectl get ds 506 kubectl describe po ds-one-ts5jd | grep Imag 507 kubectl describe po ds-one-ts5jd 508 kubectl get ds ds-one -o yaml | grep -A 1 Strategy 509 kubectl set image ds ds-one nginx=nginx:1.12.1-alpine 510 kubectl describe po ds-one-ts5jd 511 kubectl rollout history ds ds-one 512 kubectl rollout history ds ds-one --revision=1 513 kubectl rollout history ds ds-one --revision=2 514 kubectl rollout history ds ds-one 515 kubectl describe po ds-one-ts5jd | grep Image: 516 kubectl rollout undo ds ds-one --to-revision=2 517 kubectl describe po ds-one-ts5jd | grep Image: 518 kubectl get pods 519 kubectl get node 520 kubectl get po 521 kubectl get ds 522 kubectl get po 523 kubectl describe po ds-one-w6gwh | grep Image: 524 kubectl rollout history ds ds-one --revision=2 525 kubectl get po 526 kubectl describe po ds-one-w6gwh | grep Image: 527 kubectl describe po ds-one-ts5jd | grep Image: 528 kubectl describe po ds-one-w6gwh | grep Image: 529 kubectl delete po ds-one-ts5jd 530 kubectl get po 531 kubectl describe po ds-one-crql6 | grep Image: 532 kubectl describe po ds-one- | grep Image: 533 kubectl set image ds ds-one nginx=nginx:1.12.1-alpine 534 kubectl delete po ds-one-crql6 535 kubectl set image ds ds-one nginx=nginx:1.12.1-alpine 536 kubectl describe po ds-one- | grep Image: 537 kubectl describe po ds-one-gl2pw 538 kubectl rollout history ds ds-one 539 kubectl set image ds ds-one nginx=nginx:1.12.1-alpine 540 kubectl rollout history ds ds-one 541 kubectl rollout history ds ds-one --revision=1 542 kubectl rollout history ds ds-one --revision=3 543 kubectl rollout history ds ds-one --revision=4 544 kubectl rollout undo ds ds-one --to-revision=3 545 kubectl describe po ds-one- | grep Image: 546 kubectl get pod 547 kubectl delete pod ds-one-gl2pw 548 kubectl get pod 549 kubectl describe po ds-one- | grep Image: 550 kubectl get ds ds-one -o yaml 551 kubectl get ds ds-one -o yaml --export > ds2.yaml 552 vim ds2.yaml 553 kubectl create -f ds2 554 kubectl create -f ds2.yaml 555 kubectl create -f ds2 556 vim ds2.yaml 557 kubectl create -f ds2.yaml 558 vim ds2.yaml 559 kubectl create -f ds2.yaml 560 kubectl get pod 561 kubectl describe po ds-one- | grep Image: 562 kubectl describe po ds-two- | grep Image: 563 kubectl describe po ds- | grep Image: 564 kubectl get ds ds-two 565 kubectl edit ds ds-two 566 kubectl get ds ds-two 567 kubectl describe po ds- | grep Image: 568 kubectl get ds ds-two 569 kubectl describe po ds- | grep Image: 570 kubectl rollout status ds 571 kubectl rollout status ds ds- 572 kubectl rollout status ds ds-two 573 kubectl rollout history ds ds-two 574 kubectl delete ds ds-two 575 vim nginx-one.yaml 576 kubectl get nodes 577 kubectl create -f nginx-one.yaml 578 kubectl create ns accounting 579 kubectl create -f nginx-one.yaml 580 kubectl -n accounting get pods 581 kubectl -n accounting describe pod nginx-one-54479f7c5c- 582 kubectl label node lfs458-node-02 system=secondOne 583 kubectl -n accounting describe pod nginx-one-54479f7c5c- 584 kubectl get nodes --show-labels 585 kubectl -n accounting het pods 586 kubectl -n accounting get pods 587 kubectl get pods -l app=nginx --all-namespaces 588 kubectl get pods 589 kubectl get pods --all-namespaces 590 kubectl -n accounting expose deployment nginx-one 591 kubectl -n accounting get ep nginx-one 592 curl 172.20.1.52:8080 593 curl 172.20.1.52:80 594 kubectl -n accounting get ep nginx-one 595 kubectl get svc 596 kubectl get svc nginx-one.yaml 597 kubectl get svc nginx-one 598 kubectl get pods --all-namespaces 599 kubectl get svc 600 vim nginx-one.yaml 601 kubectl -n accounting delete deploy nginx-one 602 kubectl create -f nginx-one.yaml 603 kubectl -n accounting expose deployment nginx-one --type=NodePort --name=service-lab 604 kubectl -n accounting describe services 605 kubectl cluster-info 606 kubectl delete pods -l app=nginx --all-namespaces 607 kubectl delete pods -l app=nginx 608 kubectl -n accounting delete pods -l app=nginx 609 kubectl -n accounting get pods 610 kubectl -n accounting get deployments --show-labes 611 kubectl -n accounting get deployments --show-labe 612 kubectl -n accounting get deployments --show-labels 613 kubectl -n accounting delete deploy -l system=secondary 614 kubectl label nodes lfs458-node-02 system- 615 kubectl get nodes lfs458-node-0 616 kubectl get nodes lfs458-node-01 617 kubectl get nodes lfs458-node-02 618 kubectl get nodes 619 kubectl get nodes --show-labels 620 mkdir primary 621 cd primary/ 622 echo c > cyan 623 echo m > mangenta 624 echo y > yellow 625 echo k > black 626 ls 627 cat black 628 echo "know as key >> bl 629 echo "know as key" >> black 630 ex 631 cd .. 632 echo blue > favorite 633 kubectl create configmap colors --from-literal=text=black --from-file=./favorite --from-file=./primary/ 634 kubectl get configmaps 635 kubectl get configmaps -o yaml 636 vim simpleshell.yaml 637 kubectl create -f simpleshell.yaml 638 kubectl exec -it shell-demo -- /bin/bash -c 'echo $like' 639 kubectl exec -it shell-demo -- /bin/bash -c 'echo $ilike' 640 kubectl delete pod shell-demo 641 vim simpleshell.yaml 642 kubectl create -f simpleshell.yaml 643 vim simpleshell.yaml 644 kubectl create -f simpleshell.yaml 645 kubectl exec -it shell-demo -- /bin/bash -c 'env' 646 vim simpleshell.yaml 647 kubectl delete pod shell-demo 648 vim car-map.yaml 649 kubectl create -f car-map.yaml 650 kubectl get configmaps fast-car -o yaml 651 vim simpleshell.yaml 652 kubectl create -f simpleshell.yaml 653 kubectl exec -it shell-demo -- /bin/bash -c 'df -h | grep car' 654 kubectl exec -it shell-demo -- /bin/bash -c 'cat /etc/cars/car.trim' 655 kubectl exec -it shell-demo -- /bin/bash -c 'echo auto2 > /etc/cars/car2.trim' 656 sudo kubectl exec -it shell-demo -- /bin/bash -c 'echo auto2 > /etc/cars/car2.trim' 657 kubectl delete pods shell-demo 658 kubectl delete configmaps fast-car colors 659 sudo apt-get update 660 sudo apt-get install -y nfs-kernel-server 661 chmod /? 662 chmod --help 663 sudo mkdir /opt/sfw 664 sudo chmod 1777 /opt/sfw/ 665 sudo bash -c 'echo software > /opt/sfw/hello.txt' 666 sudo vim /etc/exports 667 sudo exportfs -ra 668 ip a 669 service nfs-server restart 670 sudo vim /etc/exports 671 sudo service nfs-server restart 672 sudo service nfs restart 673 sudo service nfs* restart 674 sudo exportfs 675 sudo vim /etc/exports 676 sudo exportfs 677 sudo exportfs -ra 678 sudo exportfs 679 vim PVol.yaml 680 kubectl create -f PVol.yaml 681 vim PVol.yaml 682 kubectl create -f PVol.yaml 683 kubectl get pv 684 kubectl get pvc 685 vim pvc.yaml 686 kubectl create -f pvc.yaml 687 vim pvc.yaml 688 kubectl get pvc 689 kubectl get pv 690 cp first.yaml nfs-pod.yaml 691 vim nfs-pod.yaml 692 kubectl create -f nfs-pod.yaml 693 kubectl get pods 694 kubectl describe pod nginx-798d5bc94c-w2dcz 695 kubectl get pvc.yaml 696 kubectl get pvc 697 vim nfs-pod.yaml 698 kubectl delete deploy nginx -nfs 699 kubectl delete deploy nginx-nfs 700 kubectl delete deploy nginx 701 vim nfs-pod.yaml 702 mv nfs-pod.yaml nfs-pod.yaml1 703 vim nfs-pod.yaml 704 dif nfs-pod.yaml nfs-pod.yaml.1 705 dif nfs-pod.yaml nfs-pod.yaml1 706 diff nfs-pod.yaml nfs-pod.yaml1 707 kubectl create -f nfs-pod.yaml 708 kubectl get pvc 709 kubectl describe pod nginx-798d5bc94c-w2dcz 710 kubectl describe pod nginx-nfs-c96d64f49-fg6j6 711 kubectl get pvc 712 vim nfs-pod.yaml.1 713 vim nfs-pod.yaml1 714 vim nfs-pod.yaml 715 vim nfs-pod.yaml1 716 vim nfs-pod.yaml 717 diff nfs-pod.yaml nfs-pod.yaml1 718 kubectl delete deploy nginx-nfs 719 kubectl delete pvc pvc-one 720 kubectl get pv 721 kubectl get pvc 722 kubectl delete pv pvvol-1 723 kubectl get pv 724 vim storage-quota.yaml 725 kubectl create namespace small 726 kubectl describe ns small 727 kubectl -n small create -f PVol.yaml 728 kubectl -n small create -f pvc.yaml 729 kubectl -n small create -f storage-quota.yaml 730 kubectl describe ns small 731 vim storage-quota.yaml 732 wim nfs-pod.yaml 733 vim nfs-pod.yaml 734 kubectl -n small create -f nfs-pod.yaml 735 kubectl get deploy --namespace=small 736 kubectl -n small describe deploy nginx-nfs 737 kubectl -n small get pod 738 kubectl -n small describe pod nginx-nfs-c96d64f49-r86cp 739 kubectl describe ns small 740 sudo dd if=/dev/zero of=/opt/sfw/bigchungas bs=1M count=300 741 kubectl describe ns small 742 du -f /opt 743 du -h /opt/ 744 kubectl create deploy secondapp --image=nginx 745 kubectl create deploy secondapp -o yaml | grep label -A2 746 kubectl get deploy secondapp -o yaml | grep label -A2 747 kubectl expose deployment secondapp --type=NodePort --port=80 748 vim ingress.rbac.yaml 749 kubectl create -l ingress.rbac.yaml 750 kubectl create -f ingress.rbac.yaml 751 wget https://tinyurl.com/yawpexdt -O traefik-ds.yaml 752 vim traefik-ds.yaml 753 kubectl create -f traefik-ds.yaml 754 vim ingress.rule.yam 755 kubectl create -f ingress.rule.yaml 756 curl -H "Host: www.example.com" http://10.128.0.7 757 ip a 758 curl -H "Host: www.example.com" http://192.168.122.244 759 kubectl create deployment thirdpage --image=ngin 760 kubectl create deployment thirdpage --image=nginx 761 kubectl get pod 762 kubectl delete pod thirdpage-9fbb5bcfc-trd4b 763 kubectl create deployment thirdpage --image=nginx 764 kubectl delete pod thirdpage-9fbb5bcfc-rbwzl 765 kubectl get pod 766 kubectl create deployment thirdpage1 --image=nginx 767 kubectl delete deployments thirdpage 768 kubectl get pod 769 kubectl delete deployments thirdpage1 770 kubectl create deployment thirdpage --image=nginx 771 kubectl get deployment thirdpage -o yaml | grep -A2 Label 772 kubectl get deployment thirdpage -o yaml | grep -A2 abel 773 kubectl expose deployment thirdpage --type=NodePort --port=80 774 kubectl get expose 775 kubectl get deployments 776 kubectl exec -it thirdpage-7bd8d45875-qnmwz -- /bin/bash 777 kubectl edit ingres ingress-test 778 kubectl edit ingress ingress-test 779 curl -H "Host: www.example.com" http://192.168.122.244 780 curl -H "Host: www.derde.nl" http://192.168.122.244 781 kubectl get pods 782 kubectl get deployments. 783 kubectl get deployments --export 784 kubectl get deployments --export -o yaml 785 kubectl get deployments --export -o yaml > testeetst.yaml 786 nano testeetst.yaml 787 kubectl delete namespaces -all 788 kubectl delete namespaces --all 789 kubectl create -f testeetst.yaml 790 kubectl delete deployments. --all 791 kubectl create -f testeetst.yaml 792 kubectl get nodes 793 kubectl describe nodes | grep -i label 794 kubectl describe nodes | grep -i train 795 kubectl describe nodes | grep -i tain 796 kubectl get deployments --all-namespaces 797 sudo docker ps | wc -l 798 kubectl label nodes lfs458-node-01 status=vip 799 kubectl label nodes lfs458-node-02 status=other 800 kubectl get node --show-labels 801 vim vip.yaml; 802 vim vip.yaml 803 kubectl create -f vip.yaml 804 sudo docker ps | wc -l 805 kubectl delete pod vip 806 vim vip.yaml 807 kubectl get pods 808 kubectl create -f vip.yaml 809 kubectl get pods 810 kubectl create -f vip.yaml 811 kubectl get pods 812 sudo docker ps | wc -l 813 cp vip.yaml other.yaml 814 vim other.yaml 815 kubectl create -f other.yaml 816 kubectl get pods 817 sudo docker ps | wc -l 818 kubectl delete pod vip other 819 kubectl get pods 820 kubectl delete deployments secondapp thirdpage 821 vim taint.yaml 822 sudo dockerps | grep nginx-one.yaml 823 sudo docker ps | grep nginx 824 sudo docker ps | wc -l 825 kubectl delete deployments taint-deployment 826 sudo docker ps | wc -l 827 kubectl taint node lfs458-node-02 bubba=value:PreferNoSchedule 828 kubectl describe nodes | grep taint 829 kubectl describe nodes | grep Taint 830 kubectl create -f taint.yaml 831 kubectl apply -f taint.yaml 832 sudo docker ps | wc -l 833 kubectl get nodes lfs458-node-0 834 kubectl get nodes lfs458-node-01 835 kubectl get nodes lfs458-node-02 836 kubectl get nodes 837 kubectl get pod 838 kubectl delete deployments taint-deployment 839 kubectl get pod 840 kubectl taint node lfs458-node-02 841 kubectl taint node lfs458-node-02 bubba- 842 kubectl get pod 843 kubectl describe pod 844 kubectl describe pod | grep -A5 Node: 845 kubectl apply -f taint.yaml 846 kubectl describe pod | grep -A5 Node: 847 kubectl describe pod | grep -B5 Node: 848 kubectl describe pod | grep -B5 -A3 Node: 849 kubectl describe pod | 850 kubectl describe pod 851 kubectl describe pod | grep -B5 -A3 Node: 852 kubectl describe pod | grep -B5 -A2 Node: 853 kubectl describe pod | grep -B5 -A5 Node: 854 kubectl describe pod | grep -B5 -A6 Node: 855 kubectl describe pod | grep -B5 -A5 Node: 856 kubectl describe pod | grep -B5 -A6 Node: 857 kubectl describe pod | grep -B5 -A8 Node: 858 kubectl describe pod | grep -B6 -A8 Node: 859 kubectl describe pod | grep -B6 -A10 Node: 860 kubectl describe pod | grep -B6 -A13 Node: 861 kubectl describe pod | grep -B6 -A8 Node: 862 apt 863 apt-get 864 cowsay 865 m 866 moo hallo 867 apt-get moo 868 aptitude -v moo 869 aptitude -vvvvv moo 870 apt -v moo 871 apt -vvvvv moo 872 ip moo 873 clear 874 kubectl get cs 875 kubectl get cs --all 876 kubectl get cs 877 kubectl -n kube-system get pod 878 kubectl get nodes lfs458-node-01 879 kubectl get events 880 kubectl get cs 881 sudo nano /etc/kubernetes/manifests/etcd.yaml 882 sudo nano /etc/kubernetes/manifests/joru 883 journalctl -u kubelet.service | less 884 sudo find / -name "*apiserver*.log" 885 sudo diff /var/log/containers/kube-apiserver-lfs458-node-01_kube-system_kube-apiserver-2df71a47e4d473749a51f905aecaa597ba36a8af71048fff802f602f43bc04f3.log /var/log/containers/kube-apiserver-lfs458-node-01_kube-system_kube-apiserver-f0f1840b7d9cd8a3e80f05837289b4d4638aa7e3d77c123a220bd8ce0a00610b.log 886 kubectl get pod --all-namespaces 887 kubectl -n kube-system logs calico-node-qtbnh 888 git clone https://github.com/kubernetes-incubator/metrics-server.git 889 kubectl create -f metrics-server/deploy/1.8+/ 890 kubectl -n kube-system get pods 891 kubectl -n kube-system edit deployments metrics-server 892 kubectl -n kube-system logs metrics-server-9668968bd-d64xh 893 kubectl top pod --all-namespaces 894 kubectl top pods --all-namespaces 895 kubectl -n kube-system edit deployments metrics-server 896 kubectl top pod --all-namespaces 897 kubectl top nodes 898 kubectl -n kube-system logs metrics-server-9668968bd-d64xh 899 curl --cert ./client.pem --key ./client-key.pem --cacert ./ca.pem http://192.168.122.244/ 900 curl --cert ./client.pem --key ./client-key.pem --cacert ./ca.pem https://192.168.122.244:6443/apis/metrics.k8s.io/v1beta1/nodes 901 kubectl create -f https://bit.ly/2QA92lC 902 kubectl get svc --all-namespaces 903 kubectl -n kube-system edit deployments metrics-server 904 kubectl -n kube-system logs metrics-server-9668968bd-d64xh 905 kubectl -n kube-system logs metrics-server-68d85f76bb-b7p2j 906 kubectl get svc --all-namespaces 907 kubectl -n kube-system edit svc kubernetes-dashboard 908 kubectl -n kube-system logs metrics-server-9668968bd-d64xh 909 kubectl -n kube-system get svc kubernetes-dashboard 910 kubectl -n kube-system describe secrets kubernetes-dashboard-token-vndhd 911 kubectl create clusterrolebinding kubernetes-dashboard --closterrole=cluster-admin --serviceaccount=kube-system:kubernetes-dashboard 912 kubectl create clusterrolebinding kubernetes-dashboard --clusterrole=cluster-admin --serviceaccount=kube-system:kubernetes-dashboard 913 kubectl -n kube-system describe secrets kubernetes-dashboard-token-vndhd 914 kubectl create deployment --image=nginx 915 kubectl create deployment --image=nginx test 916 kubectl create deployment --image=busybox bussybox 917 kubectl exec -ti bussybox-5bd6bfd994-9nfhq -- nslookup nginx 918 kubectl create deployment --image=busybox busybox 919 kubectl exec -ti busybox-7676789f95-vvqx6 -- nslookup nginx 920 kubectl get pods 921 history > commandsdag1en2.txt 922 cat commandsdag1en2.txt 923 ftp ftp.deds.nl 924 kubectl delete deployments bus* 925 kubectl delete deployments bussybox 926 kubectl delete deployments bussbox 927 kubectl delete deployments busybox 928 kubectl get pods 929 kubectl exec -ti busybox-7676789f95-vvqx6 -- nslookup nginx 930 kubectl exec -ti busybox -- nslookup nginx 931 kubectl exec -ti busybox --nslookup nginx 932 kubectl exec -ti busybox -- nslookup nginx 933 kubectl get pods 934 history | grep busybox 935 curl -H "Host: www.example.com" http://192.168.122.244 936 vim ingress.rbac.yaml 937 kubectl expose deployment thirdpage --type=NodePort --port=80 938 kubectl expose deployment test --type=NodePort --port=80 939 history | grep expose 940 kubectl get expose 941 vim crd.yaml 942 kubectl create -f crd.yaml 943 kubectl describe crd crontabs.training.lfs458.com 944 vim crd.yaml 945 apt moo 946 vim new-crontab.yaml 947 kubectl create -f new-crontab.yaml 948 kubectl get Crontab 949 kubectl get ct 950 vim new-crontab.yaml 951 kubectl describe ct 952 kubectl delete -f crd.yaml 953 kubectl get ct 954 wget https://download.multiotp.net/multiotp.zip 955 tar 956 uzip 957 unzip 958 sudo apt install unzip 959 mkdir multiotp 960 cd multiotp/ 961 unzip ../multiotp.zip ./ 962 unzip ../multiotp.zip ../multiotp 963 unzip ../multiotp.zip 964 cd 965 ls 966 cd multiotp/ 967 ls 968 cd Do 969 nano D 970 vim Dockerfile 971 rm ../multiotp.zip 972 ls 973 vim Dockerfile 974 wget goo.gl/nbEcHn 975 tar -xvf nbEcHn 976 sudo cp linux-amd64/helm /usr/local/bin/ 977 kubectl create serviceaccount --namespace kube-system tiller 978 kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller 979 helm init 980 kubectl -n kube-system patch deployment tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}' 981 kubectl get pods --all-namespaces 982 kubectl -n kube-system logs tiller-deploy-6794ccf644-pp6dj 983 helm help 984 helm home 985 ls -R /home/ubuntu/.helm/ 986 helm version 987 helm init --upgrade 988 helm version 989 helm search database 990 helm --debug install stable/mariadb --set master.persistence.enable=false --set slave.persistence.enable=false 991 helm --debug install stable/mariadb --set slave.persistence.enable=false --set master.persistence.enable=false 992 helm --debug install stable/mariadb --set master.persistence.enable=false --set slave.persistence.enable=false 993 kubectl get pv 994 kubectl get pv 995 helm --debug install stable/mariadb 996 helm --debug install stable/mariadb --set master.persistence.enable=false --set slave.persistence.enable=false 997 clear 998 helm --debug install stable/mariadb 999 helm --debug install stable/mariadb --set master.persistence.enable=false --set slave.persistence.enable=false 1000 helm --debug install stable/mariadb --set master.persistence.enabled=false --set slave.persistence.enabled=false 1001 kubectl get secret --namespace default your-seahorse-mariadb -o jsonpath="{.data.mariadb-root-password}" | base64 --decode) 1002 kubectl get secret --namespace default your-seahorse-mariadb -o jsonpath="{.data.mariadb-root-password}" | base64 --decode 1003 kubectl run -i --tty ubuntu --image=ubuntu:16.04 --restart=Never -- bash -il 1004 cd .. 1005 helm list -a 1006 helm delete your-seahorse 1007 helm list 1008 kubectl get po -o wide 1009 kubectl get po -o wide --sort-by=IP 1010 kubectl get po -o wide --sort-by="IP" 1011 kubectl get po -o wide --sort-by= 1012 kubectl get po -o wide --sort-by=ip 1013 kubectl get po -o wide --sort-by=name 1014 kubectl get po -o wide --sort-by=status 1015 kubectl get po busybox -o yaml 1016 kubectl get po -o wide --sort-by=metadata: 1017 kubectl get po -o wide --sort-by=cni.projectcalico.org/podIP 1018 kubectl get po -o wide --sort-by=metadata. cni.projectcalico.org/podIP 1019 kubectl get po -o wide --sort-by=metadata.annotations.cni.projectcalico.org/podIP 1020 kubectl get po -o wide --sort-by=metadata.annotations.cni.projectcalico.org 1021 kubectl get po -o wide --sort-by=metadata.annotations 1022 kubectl get po -o wide --sort-by=.podIP 1023 kubectl get po -o wide --sort-by=.podI 1024 kubectl get po -o wide --sort-by=status.podIp 1025 kubectl get po -o wide --sort-by=status.podIP 1026 kubectl scale deployment ds-one 1027 kubectl scale --replicas=10 deployment ds-one 1028 kubectl scale --replicas=10 deployment ds 1029 kubectl scale --replicas=10 deployment ds2 1030 kubectl scale --replicas=10 deployment ds2.yaml 1031 kubectl scale --replicas=10 ds 1032 kubectl scale --replicas=10 deployment test 1033 kubectl get po -o wide --sort-by=status.podIP 1034 kubectl scale --replicas=1 deployment test 1035 kubectl get po -o wide --sort-by=status.podIP 1036 cd multiotp/ 1037 ls 1038 less readme_5.4.1.6.txt 1039 ls sources/ 1040 kubectl create deployment --image=multiotp multiotp 1041 kubectl get pods 1042 kubectl get deploymen 1043 kubectl get deployments 1044 kubectl delete multiotp 1045 kubectl delete deployment multiotp 1046 ls 1047 nano Dockerfile 1048 kubectl create deployment --image=nginx nginx --export --dry-run -o yaml > otp.yaml 1049 kubectl create deployment --image=nginx nginx --export -o yaml > otp.yaml 1050 kubectl create deployment --image=nginx nginx1 --export -o yaml > otp.yaml 1051 kubectl create deployment --image=nginx nginx --dry-run -o yaml > otp.yaml 1052 vim otp.yaml 1053 kubectl create deployment -f otp.yaml 1054 kubectl create -f otp.yaml 1055 vim otp.yaml 1056 sudo docker images 1057 sudo docker run --mount source=multiotp-data,target=/etc/multiotp -p 580:80 -p 5443:443 -p 1812:1812/udp -p 1813:1813/udp -d multiotp/multiotp-open-source 1058 sudo docker images 1059 kubectl create -f otp.yaml 1060 vim otp.yaml 1061 kubectl create -f otp.yaml 1062 kubectl get pods 1063 kubectl describe pod multiotp-7995dc7765-4cq86 1064 cd.. 1065 cd .. 1066 systemctl status kubelet.service 1067 sudo less /var/lib/kubelet/config.yaml 1068 kubectl -n kube-system get services 1069 kubectl -n kube-system get secrets 1070 kubectl -n kube-system get secrets certificate-controller-token-hrctb -o yaml 1071 kubectl config set-credentials -h 1072 cp ~/.kube/config ~/cluster-api-conifg 1073 cp ~/.kube/config ~/cluster-api-config 1074 rm ~/cluster-api-conifg 1075 kubectl config sudo -io 1076 kubectl config sudo -i 1077 kubeadm token -h 1078 exit 1079 history 1080 cat commandsdag1.txt 1081 echo "source <(kubectl completion bash" >> ~/.bashrc 1082 history | grep source 1083 kubectl get resources --all-namespaces 1084 source <(kubectl completion bash) 1085 kubectl get resources 1086 clear 1087 kubectl create ns development 1088 kubectl create ns productionq 1089 kubectl create ns production 1090 kubectl delete ns productiond 1091 kubectl delete ns productionq 1092 kubectl config get-contexts 1093 sudo useradd -s /bin/bash DevDan 1094 sudo passwd DevDan 1095 openssl genrsa -out DevDan.key 2048 1096 openssl req -new -key DevDan.key -out DevDan.csr -subj "/CN=DevDan/O=development" 1097 kubectl top node 1098 kubectl get pv 1099 kubectl get pv -wide --sort-by= 1100 kubectl describe pv 1101 kubectl get pv pvvol-1 1102 kubectl get pv pvvol-1 -o yaml 1103 kubectl get pv --sort-by=spec.capacity.storage 1104 vi --help 1105 kubectl get pods 1106 cat /opt/sfw/hello.txt 1107 kubectl get pv 1108 kubectl get pvc 1109 kubectl create -f pvc.yaml 1110 kubectl get pvc 1111 kubectl create -f pvc.yaml 1112 kubectl get pvc 1113 vim pvc.yaml 1114 kubectl get pvc 1115 rm /opt/sfw/bigchungas 1116 sudo rm /opt/sfw/bigchungas 1117 kubectl get pvc 1118 kubectl delete pvc pvc-one 1119 kubectl create -f pvc.yaml 1120 kubectl get pvc 1121 kubectl get pv 1122 kubectl get pv -wide 1123 kubectl describe pv pvvol-1 1124 vim nfs-pod.yaml 1125 kubectl create -f nfs-pod.yaml 1126 kubectl get pod 1127 kubectl get pv -wide 1128 kubectl get pv 1129 kubectl get pvv 1130 kubectl get pvc 1131 kubectl describe pvc pvc-one 1132 kubectl get pv 1133 kubectl describe pv pvvol-1 1134 kubectl delete pv pvvol-1 1135 kubectl create -f PVol.yaml 1136 kubectl get pv 1137 kubectl describe pvc pvc-one 1138 kubectl delete pvc pvc-one 1139 fg 1140 kubectl delete pvc pvc-one 1141 kubectl describe pvc pvc-one 1142 kubectl delete pvc pvc-one 1143 reboot 1144 sudop reboot 1145 sudo reboot 1146 top 1147 kubectl delete pvc pvc-one 1148 kubectl 1149 kubectl get pvc 1150 kubectl get pv 1151 kubectl 1152 kubectl cluster-api-config 1153 kubectl cluster-info 1154 kubectl cluster-info dump 1155 service kubelet restart 1156 kubectl cluster-api-config 1157 kubectl cluster-info 1158 sudo service kubelet restart 1159 sudo service kubelet stop 1160 sudo service kubelet start 1161 kubectl cluster-info 1162 sudo kubectl cluster-api-config 1163 sudo kubectl cluster-info 1164 top 1165 sudo reboot 1166 sudo kubectl cluster-info 1167 kubectl --debug 1168 kubectl get pods 1169 ip a 1170 apt-get update 1171 sudo apt-get update 1172 less calico.yaml 1173 sudo kubeadm init 1174 sudo kubeadm 1175 source <(kubectl completion bash) 1176 kubectl get pod 1177 ip a 1178 sudo vim /etc/network/interfaces.d/50-cloud-init.cfg 1179 sudo vim /etc/cloud/build.info 1180 sudo vim /etc/network/interfaces.d/50-cloud-init.cfg 1181 sudo setup 1182 ip a 1183 kubectl get pod 1184 sudo vim /etc/network/interfaces 1185 service networking restart 1186 ip a 1187 kubectl get pod 1188 sudo vim /etc/network/interfaces 1189 sudo service networking restart 1190 ip a 1191 sudo -i 1192 ip a 1193 kubectl config view 1194 service calico 1195 vim ~/.kube/config 1196 ip a 1197 vim ~/.kube/config 1198 sudo reboot 1199 kubectl config view 1200 kubectl get pdos 1201 kubectl get pods 1202 ip a 1203 kubectl apply -f calico.yaml 1204 kubectl config view 1205 vim ~/.kube/config 1206 reboot 1207 sudo reboot 1208 kubectl get pods 1209 ip a 1210 vim ~/.kube/config 1211 sudo systemctl status kubelet.service 1212 cat /etc/hosts 1213 sudo -i 1214 history > commandsdag1-4.txt 1 ls 2 dir 3 tmux 4 sudo apt install tmux 5 ssh ubuntu@lfs4558-node-01 6 ssh ubuntu@lfs458-node-01 7 ssh ubuntu@lfs458-node-02 8 echo https://codeburst.io/use-reverse-i-search-to-quickly-navigate-through-your-history-917f4d7ffd37 9 history