-
Book Overview & Buying
-
Table Of Contents
IoT Edge Computing with MicroK8s
By :
The following FAQs are not exhaustive, but they are important for running your Kubernetes cluster:
Use the kubectl get deployment <deployment> command. If DESIRED, CURRENT, and UP-TO-DATE are all equal, then the deployment has succeeded.
Pending status?A pod with the Pending status cannot be scheduled onto a node. Inspecting the pod using kubectl describe pod <pod> will give you details on why the pod is stuck. Additionally, you can use the kubectl logs <pod> command to understand if there is contention.
The most common reason for this issue is some pod requesting more resources.
ContainerCreating pod?Unlike a Pending pod, a ContainerCreating pod is scheduled onto the node but due to some other reason, it cannot start up properly. Using kubectl describe pod <...