<p>I am trying to follow this tutorial <a href="https://kubernetes.io/docs/tutorials/hello-minikube/#create-a-service" rel="nofollow noreferrer">https://kubernetes.io/docs/tutorials/hello-minikube/#create-a-service</a></p>

<p>What confuses me is </p>

<pre><code>kubectl expose deployment hello-node --type=LoadBalancer --port=8080
</code></pre>

<p>Can some explain if this will balance load across the pods in the node? I want to, say, make 5 requests to the service of a deployment with 5 pods and want each pod to handle each request in parallel. How can I make minikube equally distribute requests across pods in a node?</p>

<p>Edit: There is also <code>--type=NodePort</code> how does it differ from type LoadBalancer above? Do any of these distribute incoming requests across pods on its own?</p>

Muhammad Mohib Khan
<p>A service is the way to expose your deployment to external requests. Type loadbalancer gives the service an external ip which will forward your request to the deployment. The deployment defaults to round Robin (based on the docs). If you want different types of load balancing use istio or another service mesh </p>
