Problem scenario
You run a kubectl command, but you receive one of the following error messages:
Warning FailedScheduling default-scheduler no nodes available to schedule pods
No resources found
What should you do?
Possible Solution #1
Did the control plane lose connectivity with the worker nodes? An intermediate network device such as a firewall may have been implemented. Did a data center become unavailable?
Possible Solution #2 (if using AWS)
1. Create a node.
2. You may need to create an IAM role for Kubernetes; if you need assistance with this, see this posting. Once you have identified or created an IAM role that is suitable, proceed to step 3.
3. Add these policies to the role: AmazonEKSClusterPolicy, AmazonEKSWorkerNodePolicy, AmazonEC2ContainerRegistryReadOnly.