<p>I have created python web-server and created docker image for that. Secondly I created Kubernetes cluster with kubeadm and created a service with type load balancer but I got External IP in Pending state so I came to know that External Load balancer can not be created in kubeadm tool.
So my task is to create pod replica of web-server and access through Pubic IP and the request should be load balanced between pod.
Can someone help me for this ?</p>

HARINI NATHAN
<p>I see two options in your scenario an choosing between them is up to you based in your needs. </p>

<p>The fact it's pending forever is expected behavior. </p>

<p>By default, the solution proposed by Kubeadm requires you to <a href="https://kubernetes.io/docs/concepts/cluster-administration/cloud-providers/" rel="nofollow noreferrer">define a cloud-provider</a> to be able to use resources like <a href="https://kubernetes.io/docs/concepts/cluster-administration/cloud-providers/#aws" rel="nofollow noreferrer">LoadBalancer</a> offered by your Cloud Provider. </p>

<p>Another option is to use a out-of-box solutions as <a href="https://metallb.universe.tf/" rel="nofollow noreferrer">MetalLB</a>.</p>

<p>MetalLB isn't going to allocate an External IP for you, it will allocate a internal IP inside our VPC and you have to create the necessary routing rules to route traffic to this IP.</p>
