Gitea: keep off the node that hosts ingress-nginx
Demo / hello (push) Successful in 17s

Sharing the 1-CPU ingress node with Nextcloud starved it into a
restart loop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-06 18:22:16 -05:00
co-authored by Claude Opus 5.5
parent 5702010a3d
commit 170c3a069e
+13
View File
@@ -17,6 +17,19 @@
release_namespace: gitea release_namespace: gitea
create_namespace: true create_namespace: true
values: values:
# 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
image: image:
pullPolicy: Always pullPolicy: Always
service: service: