<p>I have a Kubernetes cluster created through the Kops tool. And I have a requirement to expose my service using a network load balancer. And the target groups should be based on IP based. I have found the answer using the annotation mentioned in the site <a href="https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.1/guide/service/nlb_ip_mode/" rel="nofollow noreferrer">https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.1/guide/service/nlb_ip_mode/</a>.</p>
<p>This seems to work only when we have the cluster created through EKS. Since I'm using a kops tool could you please help me in installing <em>alb load balancer controller</em> which is one of the requirements to create a nlb-IP loadbalancers?</p>

Srikanth Bhandary
<p>If you want to use IP targets, not instance targets, you need to use a CNI that provisions VPC IPs per pod. Those are:</p>
<ul>
<li><a href="https://kops.sigs.k8s.io/networking/cilium/#enabling-cilium-eni-ipam" rel="nofollow noreferrer">Cilium with ipam</a></li>
<li>Lyft VPC</li>
<li>AWS VPC</li>
</ul>
<p>Then you need to install <a href="https://kubernetes-sigs.github.io/aws-load-balancer-controller/latest/" rel="nofollow noreferrer">AWS LB controller</a>, which supports this mode both for NLB and ALB. I would wait until kOps 1.20, which will support installing this controller out of the box, including the various permissions that needs setting.</p>
