From 1af90faddcad164f9c1128ca85c2f3179bbe7496 Mon Sep 17 00:00:00 2001 From: Eric Meehan Date: Fri, 6 Nov 2026 18:22:52 -0500 Subject: [PATCH] PeerTube: keep off the node that hosts ingress-nginx Sharing the 1-CPU ingress node with Nextcloud starved it into a restart loop. Co-Authored-By: Claude Opus 5.5 --- tasks/main.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index f4f2e54..ff37aef 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -273,5 +273,17 @@ tolerations: [] - affinity: {} + # Keep heavy apps off the 1-CPU node that hosts ingress-nginx; sharing it + # starved Nextcloud and risks the ingress / MetalLB announcement. + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - topologyKey: kubernetes.io/hostname + namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: ingress-nginx + labelSelector: + matchLabels: + app.kubernetes.io/component: controller + app.kubernetes.io/name: ingress-nginx