aws-cdk icon indicating copy to clipboard operation
aws-cdk copied to clipboard

[aws-eks] LoadBalancer is in Pending state when deploying nginx ingress to EKS cluster

Open farshadniayeshpour opened this issue 6 years ago • 3 comments

When deploying nginx-ingress (or any type of LoadBalancer) to the EKS cluster using CDK, the LoadBalancer cannot create the external DNS (URL) and the pod gets stuck in "Pending" state.

Also, when I try to edit the service type from ClusterIP to LoadBalancer for any services, I get the same "Pending" status for the pod.

Reproduction Steps

Error Log

Environment

  • CLI Version :
  • Framework Version:
  • OS :
  • Language :

Other


This is :bug: Bug Report

farshadniayeshpour avatar Apr 07 '20 12:04 farshadniayeshpour

@eladb @pahud Can you help me with this?

farshadniayeshpour avatar Apr 08 '20 13:04 farshadniayeshpour

Hi @FarshadNiayesh

Can you provide detailed steps how you deploy your Amazon EKS cluster with relevant CDK code? We need reproduce it first.

pahud avatar Apr 10 '20 02:04 pahud

Hi @pahud I fixed the issue by deploying the nodegroup in public subnets and assigning ip addresses. That was the problem. Thank you.

farshadniayeshpour avatar Apr 11 '20 18:04 farshadniayeshpour