<p>I am following this AWS guide: <a href="https://aws.amazon.com/premiumsupport/knowledge-center/eks-alb-ingress-controller-fargate/" rel="nofollow noreferrer">https://aws.amazon.com/premiumsupport/knowledge-center/eks-alb-ingress-controller-fargate/</a> to setup my kubernetes cluster under ALB.</p>
<p>After installing the AWS ALB controller on my EKS cluster, following below steps:</p>
<pre class="lang-sh prettyprint-override"><code>helm repo add eks https://aws.github.io/eks-charts
kubectl apply -k &quot;github.com/aws/eks-charts/stable/aws-load-balancer-controller//crds?ref=master&quot;

helm install aws-load-balancer-controller eks/aws-load-balancer-controller \
    --set clusterName=YOUR_CLUSTER_NAME \
    --set serviceAccount.create=false \
    --set region=YOUR_REGION_CODE \
    --set vpcId=&lt;VPC_ID&gt; \
    --set serviceAccount.name=aws-load-balancer-controller \
    -n kube-system
</code></pre>
<p>I want to deploy my ingress configurations:</p>
<pre><code>apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  annotations:
    alb.ingress.kubernetes.io/scheme: internet-facing
    alb.ingress.kubernetes.io/success-codes: 200,302
    alb.ingress.kubernetes.io/target-type: instance
    kubernetes.io/ingress.class: alb
  name: staging-ingress
  namespace: staging
  finalizers:
  - ingress.k8s.aws/resources
spec:
  rules:
  - http:
      paths:
      - backend:
          serviceName: my-service
          servicePort: 80
        path: /api/v1/price
</code></pre>
<p>Everything looks fine. However, when I run the below command to deploy my ingress:</p>
<pre><code>kubectl apply -f ingress.staging.yaml -n staging
</code></pre>
<p>I am having below error:</p>
<pre><code>Error from server (InternalError): error when creating &quot;ingress.staging.yaml&quot;: Internal error occurred: failed calling webhook &quot;vingress.elbv2.k8s.aws&quot;: the server could not find the requested resource
</code></pre>
<p>There are very few similar issues on Google an none was helping me. Any ideas of what is the problem?</p>
<p>K8s version: 1.18</p>

<p>the security group solved me:</p>
<pre><code>node_security_group_additional_rules = {
    ingress_allow_access_from_control_plane = {
      type                          = &quot;ingress&quot;
      protocol                      = &quot;tcp&quot;
      from_port                     = 9443
      to_port                       = 9443
      source_cluster_security_group = true
      description                   = &quot;Allow access from control plane to webhook port of AWS load balancer controller&quot;
    }
  }
</code></pre>
