sandervanvugt

Untitled

May 17th, 2021
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. 1 kubectl get nodes
  2. 2 ls -la
  3. 3 sudo su -
  4. 4 ls
  5. 5 sudo su -
  6. 6 kubectl get nodes
  7. 7 kubectl get pods -n calico-system
  8. 8 ls
  9. 9 ps -ef
  10. 10 sudo su -
  11. 11 ls -a
  12. 12 kubectl get all
  13. 13 kubectl get pods -A
  14. 14 kubectl api-resources
  15. 15 kubectl api-resources | less
  16. 16 kubectl explain pod
  17. 17 kubectl explain pod.spec | less
  18. 18 kubectl explain pod.spec.containers | less
  19. 19 kubectl -h | less
  20. 20 kubectl completion -h
  21. 21 source <(kubectl completion bash)
  22. 22 kubectl create deployment --image=nginx mynginx --replicas=3
  23. 23 kubectl get all
  24. 24 kubectl describe pod mynginx-5b686ccd46-vqkxm
  25. 25 kubectl get nodes -o wide
  26. 26 kubectl describe nodes classroom-vm.vm.linuxfriendly.nl
  27. 27 kubectl taint nodes --all node-role.kubernetes.io/master-
  28. 28 kubectl get all
  29. 29 history
Advertisement
Add Comment
Please, Sign In to add comment