<p>I was trying to create a alb load balancer with k8s ingress in aws. I have used the service as ClusterIP and changes the target-type in ingress to ip, but still its not working fine for me and the ingress service is not generating the load balancer address</p>
<p>This is my deployment file:
<a href="https://i.stack.imgur.com/Zp42g.png" rel="nofollow noreferrer">deployment.yaml</a></p>
<p>This is my ingress file:
<a href="https://i.stack.imgur.com/XYG71.png" rel="nofollow noreferrer">ingress.yaml</a></p>
<p>This is the output when I run k8s get ingress command:
<a href="https://i.stack.imgur.com/0mge9.png" rel="nofollow noreferrer">output</a></p>
<p>can you please help me with this??</p>
<p>Please help me with this, and provide me a detail solution.</p>

Pooja Honey
<p>ALB ingress controller not working with clusterIP.</p>
<ul>
<li><strong>Instance mode</strong> work with Nodeport service. It return EC2 ip address as ALB target endpoint</li>
<li><strong>IP mode</strong> work with <a href="https://kubernetes.io/docs/concepts/services-networking/service/#headless-services" rel="nofollow noreferrer">headless service</a> (must install AWS CNI plugin for Kubernetes). It return Kubernetes Pod ip address as ALB target endpoint</li>
</ul>
<p>In fact, we are using ClusterIP for Kubernetes internal connection, it does not need to expose any endpoint to external connection.</p>
<p>See the reference at <a href="https://aws.amazon.com/vi/blogs/opensource/kubernetes-ingress-aws-alb-ingress-controller/" rel="nofollow noreferrer">Kubernetes Ingress with AWS ALB Ingress Controller</a></p>
