mailu: contain recovery to healthy nodes

This commit is contained in:
jenkins 2026-08-16 15:05:06 -03:00
parent 5a9028f13d
commit 8c33dd199e

View File

@ -93,10 +93,6 @@ spec:
hardware: rpi4 hardware: rpi4
admin: admin:
logLevel: DEBUG logLevel: DEBUG
image:
repository: registry.bstein.dev/bstein/mailu-admin
tag: "2024.06"
pullPolicy: IfNotPresent
nodeSelector: nodeSelector:
hardware: rpi4 hardware: rpi4
podLivenessProbe: podLivenessProbe:
@ -279,7 +275,6 @@ spec:
global: global:
logLevel: DEBUG logLevel: DEBUG
storageClass: astreae storageClass: astreae
imagePullSecrets: [harbor-regcred]
webmail: webmail:
enabled: false enabled: false
nodeSelector: nodeSelector:
@ -356,6 +351,8 @@ spec:
{{- end }} {{- end }}
{{ end }} {{ end }}
spec: spec:
imagePullSecrets:
- name: harbor-regcred
affinity: affinity:
nodeAffinity: nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution: requiredDuringSchedulingIgnoredDuringExecution:
@ -368,6 +365,8 @@ spec:
automountServiceAccountToken: true automountServiceAccountToken: true
containers: containers:
- name: admin - name: admin
image: registry.bstein.dev/bstein/mailu-admin:2024.06
imagePullPolicy: IfNotPresent
command: command:
- /entrypoint.sh - /entrypoint.sh
args: args:
@ -440,7 +439,7 @@ spec:
- matchExpressions: - matchExpressions:
- key: kubernetes.io/hostname - key: kubernetes.io/hostname
operator: NotIn operator: NotIn
values: ["titan-13", "titan-15", "titan-17", "titan-19"] values: ["titan-13", "titan-14", "titan-15", "titan-17", "titan-19"]
serviceAccountName: mailu-vault-sync serviceAccountName: mailu-vault-sync
automountServiceAccountToken: true automountServiceAccountToken: true
containers: containers:
@ -519,7 +518,7 @@ spec:
- matchExpressions: - matchExpressions:
- key: kubernetes.io/hostname - key: kubernetes.io/hostname
operator: NotIn operator: NotIn
values: ["titan-13", "titan-15", "titan-17", "titan-19"] values: ["titan-13", "titan-14", "titan-15", "titan-17", "titan-19"]
serviceAccountName: mailu-vault-sync serviceAccountName: mailu-vault-sync
automountServiceAccountToken: true automountServiceAccountToken: true
containers: containers:
@ -598,7 +597,7 @@ spec:
- matchExpressions: - matchExpressions:
- key: kubernetes.io/hostname - key: kubernetes.io/hostname
operator: NotIn operator: NotIn
values: ["titan-13", "titan-15", "titan-17", "titan-19"] values: ["titan-13", "titan-14", "titan-15", "titan-17", "titan-19"]
serviceAccountName: mailu-vault-sync serviceAccountName: mailu-vault-sync
automountServiceAccountToken: true automountServiceAccountToken: true
containers: containers:
@ -675,7 +674,7 @@ spec:
- matchExpressions: - matchExpressions:
- key: kubernetes.io/hostname - key: kubernetes.io/hostname
operator: NotIn operator: NotIn
values: ["titan-13", "titan-15", "titan-17", "titan-19"] values: ["titan-13", "titan-14", "titan-15", "titan-17", "titan-19"]
serviceAccountName: mailu-vault-sync serviceAccountName: mailu-vault-sync
automountServiceAccountToken: true automountServiceAccountToken: true
containers: containers:
@ -752,7 +751,7 @@ spec:
- matchExpressions: - matchExpressions:
- key: kubernetes.io/hostname - key: kubernetes.io/hostname
operator: NotIn operator: NotIn
values: ["titan-13", "titan-15", "titan-17", "titan-19"] values: ["titan-13", "titan-14", "titan-15", "titan-17", "titan-19"]
serviceAccountName: mailu-vault-sync serviceAccountName: mailu-vault-sync
automountServiceAccountToken: true automountServiceAccountToken: true
containers: containers:
@ -826,7 +825,7 @@ spec:
- matchExpressions: - matchExpressions:
- key: kubernetes.io/hostname - key: kubernetes.io/hostname
operator: NotIn operator: NotIn
values: ["titan-13", "titan-15", "titan-17", "titan-19"] values: ["titan-13", "titan-14", "titan-15", "titan-17", "titan-19"]
- target: - target:
kind: Deployment kind: Deployment
name: mailu-tika name: mailu-tika
@ -845,14 +844,14 @@ spec:
- matchExpressions: - matchExpressions:
- key: kubernetes.io/hostname - key: kubernetes.io/hostname
operator: NotIn operator: NotIn
values: ["titan-13", "titan-15", "titan-17", "titan-19"] values: ["titan-13", "titan-14", "titan-15", "titan-17", "titan-19"]
preferredDuringSchedulingIgnoredDuringExecution: preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100 - weight: 100
preference: preference:
matchExpressions: matchExpressions:
- key: kubernetes.io/hostname - key: kubernetes.io/hostname
operator: NotIn operator: NotIn
values: ["titan-13", "titan-15", "titan-17", "titan-19"] values: ["titan-13", "titan-14", "titan-15", "titan-17", "titan-19"]
containers: containers:
- name: tika - name: tika
startupProbe: startupProbe: