damp-salesmen-74351
08/10/2023, 11:47 PMVPC
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
$ 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
stocky-restaurant-98004
08/11/2023, 5:27 PMdamp-salesmen-74351
08/11/2023, 6:18 PMnginxdemos/hello
pod.stocky-restaurant-98004
08/11/2023, 7:31 PM