<p>I am trying to deploy the aws-load-balancer-controller on my Kubernetes cluster on AWS = by following the steps given in <a href="https://docs.aws.amazon.com/eks/latest/userguide/aws-load-balancer-controller.html" rel="noreferrer">https://docs.aws.amazon.com/eks/latest/userguide/aws-load-balancer-controller.html</a></p>
<p>After the yaml file is applied and while trying to check the status of the deployment , I get :</p>
<pre><code>$ kubectl get deployment -n kube-system aws-load-balancer-controller
NAME                           READY   UP-TO-DATE   AVAILABLE   AGE
aws-load-balancer-controller   0/1     1            0           6m39s
</code></pre>
<p>I tried to debug it and I got this :</p>
<pre><code>$ kubectl logs -n kube-system   deployment.apps/aws-load-balancer-controller
{&quot;level&quot;:&quot;info&quot;,&quot;logger&quot;:&quot;controller-runtime.metrics&quot;,&quot;msg&quot;:&quot;metrics server is starting to listen&quot;,&quot;addr&quot;:&quot;:8080&quot;}
{&quot;level&quot;:&quot;error&quot;,&quot;logger&quot;:&quot;setup&quot;,&quot;msg&quot;:&quot;unable to create controller&quot;,&quot;controller&quot;:&quot;Ingress&quot;,&quot;error&quot;:&quot;the server could not find the requested resource&quot;}
</code></pre>
<p>The yaml file is pulled directly from <a href="https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases/download/v2.3.0/v2_3_0_full.yaml" rel="noreferrer">https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases/download/v2.3.0/v2_3_0_full.yaml</a> and apart from changing the Kubernetes cluster name, no other modifications are done.</p>
<p>Please let me know if I am missing some step in the configuration.
Any help would be highly appreciated.</p>

<p>I am not sure if this helps, but for me the issue was that the version of the aws-load-balancer-controller was not compatible with the version of Kubernetes.</p>
<ul>
<li>aws-load-balancer-controller = v2.3.1</li>
<li>Kubernetes/EKS = 1.22</li>
</ul>
<p>Github issue for more information:
<a href="https://github.com/kubernetes-sigs/aws-load-balancer-controller/issues/2495" rel="noreferrer">https://github.com/kubernetes-sigs/aws-load-balancer-controller/issues/2495</a></p>
