commit e5733b9a6f0652c2ac5c826e4ccd01ce5be60f26 parent f86b743f16cbd6473f0c9eb580e9150c5b7739b5 Author: MTRNord <MTRNord@users.noreply.github.com> Date: Fri, 27 Feb 2026 21:54:54 +0100 add node affinity Signed-off-by: MTRNord <MTRNord@users.noreply.github.com> Diffstat:
| M | infrastructure_talos/configs/cnpg-cluster.yaml | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/infrastructure_talos/configs/cnpg-cluster.yaml b/infrastructure_talos/configs/cnpg-cluster.yaml @@ -290,6 +290,14 @@ spec: superuser: false passwordSecret: name: persephone + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: node.kubernetes.io/instance-type + operator: In + values: [cax11, cax31] storage: storageClass: hcloud-volumes size: 20Gi