<p>im goofin around with K8s for my master thesis at the moment. For this im spinning up an K8s Cluster with the help of KinD. I have also developed an small flask REST API which will echo en ENV var. 
Now im starting 3 Services which hold a number of pods of the flask App and they are calling each other. For better understanding i have an hello svc, an world service and an world2 svc. 
So far so good. 
I have successfully deployed them and now i want to port-forward the hello svc. </p>

<pre><code>kubectl --namespace test port-forward svc/hello 30000
</code></pre>

<p>This works fine but as soon as im starting my JMeter Application to test the load balancing features something odd happens. 
As you can see in the grafana dashboard the other services are happily load balancing the traffic but the svc which is port forwarded is sending all of its traffic into one hello pod. </p>

<p>This is my deployment:
<a href="https://github.com/kek112/k8s-serviceMesh/blob/master/k8s-plain-prometheus/deployment/deployment.yml" rel="nofollow noreferrer">deployment.yml</a></p>

<p>Am i missing something? Or did i deploy my application wrong? </p>

<p>Thanks in advance!</p>

<p><a href="https://i.stack.imgur.com/diiIO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/diiIO.png" alt="enter image description here"></a></p>

<p>Port-forward allows the use of services for convenience purposes only. Behind the scenes connects to a single pod directly. Connection will be dropped should this pod die. There is no load balancing in port forward.One pod selected by the service is chosen and all traffic is forwarded there for the entire lifetime of the port forward command.I would suggest using <a href="https://kubernetes.io/docs/concepts/services-networking/service/#nodeport" rel="noreferrer">NodePort</a> type service if you need to test load balancing via JMeter from outside the kubernetes cluster.</p>
