<p>Neebie to the world of Kubernetes AWS EKS and would great to get support.</p>
<p>I am trying to deploy a node app. I have the correct IAM policies attached to my IAM role on EKS, I have also setup the correct tags on the private and public subnets.</p>
<p>My Kubernetes yml looks like this.</p>
<pre><code>kind: Deployment
metadata:
  name: test
spec:
  replicas: 1
  selector:
    matchLabels:
      app: test
  template:
    metadata:
      labels:
        app: test
    spec:
      containers:
        - name: test
          image: test:latest
          ports:
            - containerPort: 3000
          imagePullPolicy: Always
---
kind: Service
apiVersion: v1
metadata:
  name: test
spec:
  type: LoadBalancer
  selector:
    app: test
  ports:
  - protocol: TCP
    port: 80
    targetPort: 9376
</code></pre>
<p>The service starts but the external ip just keeps saying pending and no load balancer is provisioned.</p>
<p>Thanks</p>

AC88
<p>To troubleshoot this issue, you can find related failure logs under AWS EKS cluster control plane logs. Please refer <a href="https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html#viewing-control-plane-logs" rel="nofollow noreferrer">this</a> document from AWS with steps to view AWS EKS cluster control plane logs, also with steps to enable control plane logs.</p>
<p>If you have AWS EKS cluster control plane log available, then you can execute following query in CloudWatch Logs Insights. For information about execution of AWS CloudWatch Logs Insights query, please refer <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_AnalyzeLogData_RunSampleQuery.html#CWL_AnalyzeLogData_RunQuerySample" rel="nofollow noreferrer">this</a> document from AWS. After execution of query, check for value of <code>responseObject.reason</code> field or you can also expand message to view details.</p>
<pre><code>fields @timestamp, @message, requestObject.kind, requestObject.metadata.name,requestObject.spec.type,responseObject.status,responseObject.message,responseObject.reason,requestObject.spec.selector.app
| filter requestObject.spec.type='LoadBalancer' 
| sort @timestamp desc
</code></pre>
