<p>I'm familiar with the <a href="https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" rel="noreferrer">Kubernetes quotas for CPU and memory usage</a>. However, I'm envisaging a scenario in which certain containers are guaranteed to use <em>a lot</em> of network bandwidth, and I can't see any way of warning Kubernetes of this. (e.g. don't put two on the same machine, don't put too much else on this machine even if the other quotas are fine). How can I effect this sort of behaviour? For the purposes of the question I have full control of the cluster and am prepared to write code if necessary.</p>

<p>The only thing you can do is to apply <a href="https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/#support-traffic-shaping" rel="noreferrer">Support traffic shaping</a> using <code>kubernetes.io/ingress-bandwidth</code> and <code>kubernetes.io/egress-bandwidth annotations</code>. It can only be applied to your PODS.</p>

<p>Example:</p>

<pre><code>apiVersion: v1
kind: Pod
metadata:
  annotations:
    kubernetes.io/ingress-bandwidth: 1M
    kubernetes.io/egress-bandwidth: 1M
.. 
</code></pre>

<p>Also official k8s documentation gives link to <a href="https://github.com/containernetworking/plugins/tree/master/plugins/meta/bandwidth" rel="noreferrer">bandwidth plugin</a>. Try to apply in for your needs.</p>

<p>And read <a href="https://github.com/kubernetes/kubernetes/issues/2856" rel="noreferrer">github related topic</a>.</p>
