It looks like sometimes this works as expected, since the middle speeds are all roughly 35Mbps. But the first and last few are all faster than 35Mbps, and I'm not sure why.
Context
I'm trying to limit the amount of bandwidth that can be used by my pods in a network-constrained environment.
Expected Behavior
Setting
kubernetes.io/ingress-bandwidth
to e.g. 35M should limit ingress bandwidth to 35MCurrent Behavior
The bandwidth is sometimes limited to that amount, sometimes not
Possible Solution
Steps to Reproduce (for bugs)
Here's my networking config:
/etc/cni/net.d/10-canal.conflist
My pod spec:
But here's the output I'm getting (from
kubectl logs pod/curl-client-35m
):It looks like sometimes this works as expected, since the middle speeds are all roughly 35Mbps. But the first and last few are all faster than 35Mbps, and I'm not sure why.
Context
I'm trying to limit the amount of bandwidth that can be used by my pods in a network-constrained environment.
Your Environment