This simply serves to be "how-to guide " for solving majorly faced issues in kuberenetes , and will be a handy note for new learners
๐งฉ๐งฉ Guide to solve basic kubernetes problems ๐งฉ๐งฉ
๐ผKubernetes is a container orchestration tool ,and while working with it errors are part of it ,but it would be time saving if we knew where to debug & fix the issue, as for a beginner things might get overwhelming.
๐ What is Kubernetes ?
Kuberenetes which is also widely refered to as k8s is open-source container orchestration technology used for managing your applications & automating deployments of software . Initially it was founded & owned by Google kbd>, but now is maintained
by Cloud Native Computing Foundation
~ Check for ๐ผ๐ฅ๐ฅ๐ก๐๐๐๐ฉ๐๐ค๐ฃ ๐๐ค๐๐ ๐๐ง๐๐จ๐๐๐จ , ๐๐ฃ๐๐ค๐ง๐ง๐๐๐ฉ ๐๐ฃ๐ซ๐๐ง๐ค๐ฃ๐ข๐๐ฃ๐ฉ ๐ซ๐๐ง๐๐๐๐ก๐๐จ, ๐๐ฃ๐จ๐ช๐๐๐๐๐๐๐ฃ๐ฉ ๐๐๐ก๐ ๐ฅ๐๐ง๐ข๐๐จ๐จ๐๐ค๐ฃ๐จ. Useful Commands ๐ฎ Kubectl logs podname Kubectl get po podname Kubectl apply -f deployment podname Lookout for any exceptions in logs /missing variables at code level as well .
~ Check for ๐๐๐ฉ๐ฌ๐ค๐ง๐ ๐พ๐ค๐ฃ๐ฃ๐๐๐ฉ๐๐ซ๐๐ฉ๐ฎ , ๐๐ฃ๐ค๐ช๐๐ ๐ง๐๐จ๐ค๐ช๐ง๐๐ ๐๐ก๐ก๐ค๐๐๐ฉ๐๐ค๐ฃ ,๐ช๐ฃ๐๐๐๐ก๐ฉ๐๐ฎ ๐ฅ๐ง๐ค๐๐๐จ๐จ๐๐จ Useful Commands ๐ฎ Kubectl logs podname Kubectl get po podname and check for its state Increase system resource usage
Wrapping up
If you have came reading this far I really appreciate it. If you found it helpful, please share it so you can help another developer improve their projects.