Frequently Asked Questions About MicroK8s
The following FAQs are not exhaustive, but they are important for running your Kubernetes cluster:
- How do I find out what the status of a deployment is?
Use the kubectl get deployment <deployment> command. If DESIRED, CURRENT, and UP-TO-DATE are all equal, then the deployment has succeeded.
- How do I troubleshoot a pod with a 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.
- How do I troubleshoot a
Get IoT Edge Computing with MicroK8s now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.