Loading video player...
Here is the commands list: π 1β10: Daily Monitoring Commands 1. kubectl get pods 2. kubectl get deployments 3. kubectl get services 4. kubectl get nodes 5. kubectl describe pod {pod-name} 6. kubectl logs {pod-name} 7. kubectl top pods 8. kubectl top nodes 9. kubectl cluster-info 10. kubectl api-resources βΈ» π 11β20: Deployment & Configuration 11. kubectl apply -f file.yaml 12. kubectl create -f file.yaml 13. kubectl delete -f file.yaml 14. kubectl delete pod {pod-name} 15. kubectl edit deployment {name} 16. kubectl scale deployment {name} --replicas=3 17. kubectl expose deployment {name} 18. kubectl rollout status deployment {name} 19. kubectl rollout undo deployment {name} 20. kubectl patch deployment {name} βΈ» π 21β30: Debugging & Advanced 21. kubectl exec -it {pod-name} -- bash 22. kubectl port-forward pod/{pod-name} 8080:80 23. kubectl cp {pod}:/path ./local 24. kubectl config get-contexts 25. kubectl config use-context {context} 26. kubectl get events 27. kubectl get all 28. kubectl drain {node} 29. kubectl cordon {node} 30. kubectl uncordon {node}