Hi, I created a `VPC` using `pulumi_aws` and a `cl...
# python
d
Hi, I created a
VPC
using
pulumi_aws
and a
cluster
using
pulumi_eks
, but in the end, I received the error
no nodes available to schedule pods.
Here is the code: https://github.com/omidraha/pulumi_example/blob/main/vpc.py https://github.com/omidraha/pulumi_example/blob/main/iam.py https://github.com/omidraha/pulumi_example/blob/main/cluster.py https://github.com/omidraha/pulumi_example/blob/main/setup.py
Copy code
$ kubectl get pods -A 
NAMESPACE     NAME                       READY   STATUS    RESTARTS   AGE
kube-system   coredns-6ff9c46cd8-98sck   0/1     Pending   0          24h
kube-system   coredns-6ff9c46cd8-hrj56   0/1     Pending   0          24h

$ kubectl get event -A
NAMESPACE     LAST SEEN   TYPE      REASON             OBJECT                         MESSAGE
kube-system   38s         Warning   FailedScheduling   pod/coredns-6ff9c46cd8-98sck   no nodes available to schedule pods
kube-system   68s         Warning   FailedScheduling   pod/coredns-6ff9c46cd8-hrj56   no nodes available to schedule pods

$  kubectl get nodes -A
No resource found
s
Does coredns require storage? If so, you may be seeing this issue: https://github.com/pulumi/pulumi-eks/issues/833
Try installing NGINX (which has no PVCs) as a service and see if you get a similar issue.
d
Same issue for other
nginxdemos/hello
pod.
s
How about kubectl get nodes? You seeing what you expect?