Hi, I created a `VPC` using `pulumi_aws` and a `cl...
# kubernetes
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
s
@damp-salesmen-74351 you should create cluster node group as well. e.g.
node_group_options
here is an example that worked for me