<p>We have an Kubernetes cluster (AWS EKS) with numerous identical micro workloads. Developers use them for feature testing before it gets to staging. External devices connect to these workloads. Topoligy is really simple:</p>

<pre><code>External device -&gt; Classic Loadbalancer-&gt; NodePort service -&gt; Statefulset
</code></pre>

<p>Once developers are done with their work, the workloads are no longer used. I label a workload as not used when there are no connections thru the path described above. Thare are no connections from external device, that is.</p>

<p>Are there any mechanism, plugin or whatever which can monitor/measure inbound traffic to either Kubernetes service or pod? I could, based on the connections number, decide whether to delete the workload. </p>

Łukasz
<p><a href="https://kiali.io/" rel="nofollow noreferrer">Kiali</a> lets you monitor service mesh traffic (if you use <a href="https://istio.io/" rel="nofollow noreferrer">Istio</a>).</p>

<p>You could see how much traffic is going to which service and to which pods. </p>

<p><a href="https://i.stack.imgur.com/ttxRe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ttxRe.png" alt="kiali service graph"></a></p>
