From b940530bd35554d5e31974021d33d8dd0ccf9af6 Mon Sep 17 00:00:00 2001 From: Krisztian Litkey Date: Mon, 12 Feb 2024 23:23:10 +0200 Subject: [PATCH] docs: document matchContainers for balloons. Signed-off-by: Krisztian Litkey --- docs/resource-policy/policy/balloons.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/resource-policy/policy/balloons.md b/docs/resource-policy/policy/balloons.md index 8986e72d4..239407430 100644 --- a/docs/resource-policy/policy/balloons.md +++ b/docs/resource-policy/policy/balloons.md @@ -106,6 +106,15 @@ Balloons policy parameters: - `namespaces` is a list of namespaces (wildcards allowed) whose pods should be assigned to this balloon type, unless overridden by pod annotations. + - `matchContainers` is a list of container match expressions. These + expressions are evaluated for all containers which have not been + assigned otherwise to other balloons. If an expression matches, + IOW it evaluates to true, the container gets assigned to this + balloon type. Container mach expressions have the same syntax and + semantics as the scope and match expressions in container affinity + annotations for the topology-aware policy. + See the [affinity documentation](./topology-aware.md#affinity-semantics) + for a detailed description of expressions. - `minBalloons` is the minimum number of balloons of this type that is always present, even if the balloons would not have any containers. The default is 0: if a balloon has no containers, it