Kubernetes traffic on deployments

5/5/2020

Off late, we have found many Kubernetes pods are running without any ingress/egress traffic. APM monitoring revealed the actual traffic flows in each pod.

Now, I would like to terminate those pods that doesn't have any traffic over the period of time. So that I can reduce the worker nodes.

I need your help on below query.

  1. Is there a way we can find ingress/egress traffic at deployment level? Currently it shows at pod level. But if I generate the report it includes the pods that are already terminated. It is difficult for me to get historical report of pods. Because whenever the pods gets scaled, everytime it creates with new name.
-- baluchen
kubernetes
kubernetes-ingress
kubernetes-pod

0 Answers