-
Feature Request
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
Product / Portfolio Work
-
None
-
False
-
-
None
-
None
-
None
-
-
None
-
None
-
None
-
None
-
None
1. Proposed title of this feature request
Network throttling for virtual machines in OpenShift Virtualization.
2. What is the nature and description of the request?
As a virtualisation administrator I'd like to be able to configure network bandwidth throttling for virtual machines connected to Multus enabled networks, to ensure they won't over-utilise network resources. I have confirmed in my lab that the following NAD configuration seems to be working:
apiVersion: k8s.cni.cncf.io/v1 kind: NetworkAttachmentDefinition metadata: name: cluster-vlan10 namespace: default spec: config: |- { "cniVersion": "0.3.1", "name": "cluster-vlan10", "plugins": [{ "type": "bridge", "bridge": "br1", "ipam": {}, "macspoofchk": true, "preserveDefaultVlan": false, "vlan": 10 }, { "name": "slowdown", "type": "bandwidth", "ingressRate": 2000000, "ingressBurst": 5000000, "egressRate": 2000000, "egressBurst": 5000000 } ] }
but it isn't documented nor indicated whether it is supported or not. It would be ideal to test it thoroughly and properly document.
3. Why does the customer need this? (List the business requirements here)
As a platform administrator I can create NAD to isolate tenants using various network segmentation mechanisms over single physical network. However it is not documented how to ensure users connected to the same physical network won't abuse it. It is crucial in multi-tenant environments but also can be very useful in test environments to simulate poor network performance.
4. List any affected packages or components.
CNO (deploys the CNI today), OVN Kubernetes team (no code, but they should be involved since the bandwidth CNI is mostly a stopgap until OVN Kubernetes implements support for this itself)