QoS

Kube-OVN supports dynamically configurations of Ingress and Egress traffic rate limiting.

Use the following annotations to specify QoS:

  • ovn.kubernetes.io/ingress_rate: Rate limit for Ingress traffic, unit: Mbit/s
  • ovn.kubernetes.io/egress_rate: Rate limit for Egress traffic, unit: Mbit/s
    Example:
  1. apiVersion: v1
  2. kind: Pod
  3. metadata:
  4. name: qos
  5. namespace: ls1
  6. annotations:
  7. ovn.kubernetes.io/ingress_rate: "3"
  8. ovn.kubernetes.io/egress_rate: "1"
  9. spec:
  10. containers:
  11. - name: qos
  12. image: nginx:alpine