From 1bbb9784cd946d2b6fdb39ad5639bc9a901bb415 Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Fri, 26 Sep 2025 13:15:25 +0200 Subject: [PATCH] Add new egress config [allocation_strategy, disable_cpu_overload_killer] --- .../community/local-meet/docker-compose.base.yaml | 9 +++++++++ .../pro/local-meet/docker-compose.base.yaml | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/openvidu-deployment/community/local-meet/docker-compose.base.yaml b/openvidu-deployment/community/local-meet/docker-compose.base.yaml index de76cd0e..dbc268d4 100644 --- a/openvidu-deployment/community/local-meet/docker-compose.base.yaml +++ b/openvidu-deployment/community/local-meet/docker-compose.base.yaml @@ -247,6 +247,15 @@ services: track_composite_cpu_cost: 0.01 track_cpu_cost: 0.01 + openvidu: + # Allocation strategy for new egress requests + # - cpuload: the node with the lowest CPU load will be selected. Distributes the CPU load evenly across all nodes. + # - binpack: some node already hosting at least one Egress will be selected. Fills up nodes before assigning work to new ones. + allocation_strategy: cpuload + # Disables the automatic killing of the most expensive egress when CPU is overloaded. + # The default "false" value helps keeping the node stable, but may cause unexpected egress terminations under high load. + disable_cpu_overload_killer: false + setup: image: docker.io/busybox:1.37.0 platform: linux/amd64 diff --git a/openvidu-deployment/pro/local-meet/docker-compose.base.yaml b/openvidu-deployment/pro/local-meet/docker-compose.base.yaml index ca5b5d86..3c38bb3a 100644 --- a/openvidu-deployment/pro/local-meet/docker-compose.base.yaml +++ b/openvidu-deployment/pro/local-meet/docker-compose.base.yaml @@ -290,6 +290,15 @@ services: track_composite_cpu_cost: 0.01 track_cpu_cost: 0.01 + openvidu: + # Allocation strategy for new egress requests + # - cpuload: the node with the lowest CPU load will be selected. Distributes the CPU load evenly across all nodes. + # - binpack: some node already hosting at least one Egress will be selected. Fills up nodes before assigning work to new ones. + allocation_strategy: cpuload + # Disables the automatic killing of the most expensive egress when CPU is overloaded. + # The default "false" value helps keeping the node stable, but may cause unexpected egress terminations under high load. + disable_cpu_overload_killer: false + setup: image: docker.io/busybox:1.37.0 platform: linux/amd64