'"Failed to create pod sandbox" How to know current K8s resource declarations and increase it if need? [closed]
A Kubernetes pod is always stuck on "ContainerCreating" status after running a create command. I read that OS limitations may cause this problem and I think this is the reason, So How can I know Kubernetes' available resource declarations and increase them if need? I use K8s docker desktop-based and new to minikube.
Solution 1:[1]
It's a really common error message. Howerer, you should always troubleshoot your apps with several tips here:
For you case you can begin with:
kubectl describe pod NAME_OF_THE_POD
To have more informations. If nothing, check the logs of your app:
kubectl logs NAME_OF_THE_POD
Here is a good article on how troubleshoot apps (from kubernetes official site): https://kubernetes.io/docs/tasks/debug/debug-application/_print/
Here is a good image, from learnk8s site, you can use to troubleshoot your apps also:
Hope this has helped you, Bguess
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | bguess |

