Commonly Used Commands in Kubernetes, Docker, and Containerd
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
To update version when the necessary images loaded on the servers' dockers'. It is worked like "vi" editor which it needs to do ":wq" to save and exit and ":q!" to exit without save.
CODE
CODE
CODE
Docker
CODE
CODE
CODE
CODE
CODE
Containerd
CODE
CODE
CODE
CODE
CODE
CODE
- To check if kubelet is working
- To check the Linux system logs when kubelet has an error
- To check the kubelet logs when it has any error
- To check the Pod logs
- To check the previous Pod logs if it is seen it restarted at least one time
- To check if there exist any general error on Pod or see the details of Pod
- To execute any command inside of a working Pod
- To execute any command as it is from inside without getting inside of a working Pod
- To restart all pods under a specific deployment
- To delete a deployment as a whole
- To force a Pod to delete if it stucks on status "terminating"
- To update version when the necessary images loaded on the servers' dockers'. It is worked like "vi" editor which it needs to do ":wq" to save and exit and ":q!" to exit without save.
- To clean up pods in the "Evicted" state
- Preventing Pod from Running on Specific Nodes Using Kubernetes Node Affinity
- Docker
- Containerd