<p>I have deployed Nginx Ingress Controller in EKS cluster v1.20.15-eks using helm chart from <a href="https://artifacthub.io/packages/helm/ingress-nginx/ingress-nginx/" rel="nofollow noreferrer">https://artifacthub.io/packages/helm/ingress-nginx/ingress-nginx/</a> version 4.4.2</p>
<p>The controller is deployed successfully but when creating Ingress Object I am getting below error.</p>
<pre><code>W0206 09:46:11.909381       8 reflector.go:424] k8s.io/client-go@v0.25.3/tools/cache/reflector.go:169: failed to list *v1.EndpointSlice: the server could not find the requested resource
E0206 09:46:11.909410       8 reflector.go:140] k8s.io/client-go@v0.25.3/tools/cache/reflector.go:169: Failed to watch *v1.EndpointSlice: failed to list *v1.EndpointSlice: the server could not find the requested resource
</code></pre>
<p>kubectl version is</p>
<pre><code>Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;20&quot;, GitVersion:&quot;v1.20.0&quot;, GitCommit:&quot;af46c47ce925f4c4ad5cc8d1fca46c7b77d13b38&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2020-12-08T17:59:43Z&quot;, GoVersion:&quot;go1.15.5&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;20+&quot;, GitVersion:&quot;v1.20.15-eks-fb459a0&quot;, GitCommit:&quot;165a4903196b688886b456054e6a5d72ba8cddf4&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2022-10-24T20:31:58Z&quot;, GoVersion:&quot;go1.15.15&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
</code></pre>
<p>Can anyone help me with this. Thank you in advance.</p>

Ankit Soni
<p>chart version 4.4.2 has the application version of 1.5.1.</p>
<p>Version 1.5.1 of nginx only supports kubernetes versions of 1.25, 1.24, 1.23.
For kubernetes v1.20 the latest supported version was v1.3.1.</p>
<p>The chart version for v1.3.1 is v4.2.5.</p>
<p>The error you are facing, is due to nginx not finding v1.EndpointSlice, since the EndpointSlice was GA on k8s v1.21 as can be seen <a href="https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/" rel="nofollow noreferrer">here</a>. In previous versions it would be running on alpha/beta not v1.</p>
<p>Please refer to the <a href="https://github.com/kubernetes/ingress-nginx#supported-versions-table" rel="nofollow noreferrer">table here</a>.</p>
