How can I limit output bandwidth on a pod with k8s?

HOW TO -️ October 18, 2021

I am trying to limit the output of a pod. This issue was not resolved or fully explained here.

Please help me understand what is meant by the following or an alternative solution

Both kubenet and CNI network driver support traffic shaping now.

I think we can close this issue now?

As I don't see how to install kubenet in the docs here.

For some background I'm running an infrastructure as a service node and I'm adding a multiplier onto the fixed EC2 and EBS costs for time and storage. My only other cost is output traffic as input is not charged. I've added the ingress/egress limit as also explained in the thread as well.