From f4812832c8a4aec5bb25b0b4e22756c34adae96d Mon Sep 17 00:00:00 2001 From: Ivan Mikheykin Date: Thu, 5 Dec 2024 15:56:10 +0300 Subject: [PATCH] refactor(docs): add components placement table --- docs/internal/components_placement.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/internal/components_placement.md diff --git a/docs/internal/components_placement.md b/docs/internal/components_placement.md new file mode 100644 index 000000000..9049387d0 --- /dev/null +++ b/docs/internal/components_placement.md @@ -0,0 +1,22 @@ +## Placement strategies + +| Component | nodeSelector strategy | tolerations strategy | Specifics | +|---------------------------|-----------------------|----------------------|--------------------------------------------| +| virt-api | master | any-node | -> ApiService, webhooks | +| virt-operator | master | any-node | -> system/system | +| cdi-apiserver | master | any-node | ApiService, webhooks | +| virtualization-controller | master | any-node | validationwebhooks | +| virtualization-api | master | any-node | ApiService | +| virt-controller | system | system | | +| cdi-deployment | system | system | strategy set with infra settings in config | +| cdi-operator | system | system | | +| dvcr | system | system | | +| virt-handler | | any-node | | +| vm-route-forge | | any-node | (should be equal to virt-handler) | + + +**master + any-node** - Schedule to control-plane nodes. + +**system + system** - Schedule to first matching node: NodeGroup/virtualization, NodeGroup/system and then control-plane. + +**any-node** - Schedule to any node, including control-plane.