fix: avoid problematic node vmi3331742 for nextgen pods

This commit is contained in:
fchinembiri 2026-05-28 21:43:54 +02:00
parent 812bc766f9
commit b712d2c4b5
2 changed files with 18 additions and 0 deletions

View File

@ -48,6 +48,15 @@ spec:
labels:
app: postgres
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: NotIn
values:
- vmi3331742.contaboserver.net
containers:
- name: postgres
image: postgres:15-alpine

View File

@ -64,6 +64,15 @@ spec:
labels:
app: mattermost
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: NotIn
values:
- vmi3331742.contaboserver.net
containers:
- name: mattermost
image: mattermost/mattermost-team-edition:9.11