mailu: preserve capacity during recovery
This commit is contained in:
parent
8c33dd199e
commit
c0847b5c73
@ -326,6 +326,7 @@ spec:
|
||||
metadata:
|
||||
annotations:
|
||||
vault.hashicorp.com/agent-inject: "true"
|
||||
vault.hashicorp.com/agent-requests-cpu: "25m"
|
||||
vault.hashicorp.com/role: "mailu-mailserver"
|
||||
vault.hashicorp.com/agent-inject-secret-mailu-env.sh: "kv/data/atlas/mailu/mailu-secret"
|
||||
vault.hashicorp.com/agent-inject-template-mailu-env.sh: |
|
||||
@ -360,7 +361,12 @@ spec:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: NotIn
|
||||
values: ["titan-13", "titan-14", "titan-15", "titan-17", "titan-19"]
|
||||
values:
|
||||
- titan-13
|
||||
- titan-14
|
||||
- titan-15
|
||||
- titan-17
|
||||
- titan-19
|
||||
serviceAccountName: mailu-vault-sync
|
||||
automountServiceAccountToken: true
|
||||
containers:
|
||||
@ -439,7 +445,7 @@ spec:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: NotIn
|
||||
values: ["titan-13", "titan-14", "titan-15", "titan-17", "titan-19"]
|
||||
values: ["titan-13", "titan-15", "titan-17", "titan-19"]
|
||||
serviceAccountName: mailu-vault-sync
|
||||
automountServiceAccountToken: true
|
||||
containers:
|
||||
@ -486,6 +492,7 @@ spec:
|
||||
metadata:
|
||||
annotations:
|
||||
vault.hashicorp.com/agent-inject: "true"
|
||||
vault.hashicorp.com/agent-requests-cpu: "25m"
|
||||
vault.hashicorp.com/role: "mailu-mailserver"
|
||||
vault.hashicorp.com/agent-inject-secret-mailu-env.sh: "kv/data/atlas/mailu/mailu-secret"
|
||||
vault.hashicorp.com/agent-inject-template-mailu-env.sh: |
|
||||
@ -518,7 +525,12 @@ spec:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: NotIn
|
||||
values: ["titan-13", "titan-14", "titan-15", "titan-17", "titan-19"]
|
||||
values:
|
||||
- titan-13
|
||||
- titan-14
|
||||
- titan-15
|
||||
- titan-17
|
||||
- titan-19
|
||||
serviceAccountName: mailu-vault-sync
|
||||
automountServiceAccountToken: true
|
||||
containers:
|
||||
@ -597,7 +609,7 @@ spec:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: NotIn
|
||||
values: ["titan-13", "titan-14", "titan-15", "titan-17", "titan-19"]
|
||||
values: ["titan-13", "titan-15", "titan-17", "titan-19"]
|
||||
serviceAccountName: mailu-vault-sync
|
||||
automountServiceAccountToken: true
|
||||
containers:
|
||||
@ -674,7 +686,7 @@ spec:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: NotIn
|
||||
values: ["titan-13", "titan-14", "titan-15", "titan-17", "titan-19"]
|
||||
values: ["titan-13", "titan-15", "titan-17", "titan-19"]
|
||||
serviceAccountName: mailu-vault-sync
|
||||
automountServiceAccountToken: true
|
||||
containers:
|
||||
@ -751,7 +763,7 @@ spec:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: NotIn
|
||||
values: ["titan-13", "titan-14", "titan-15", "titan-17", "titan-19"]
|
||||
values: ["titan-13", "titan-15", "titan-17", "titan-19"]
|
||||
serviceAccountName: mailu-vault-sync
|
||||
automountServiceAccountToken: true
|
||||
containers:
|
||||
@ -825,7 +837,7 @@ spec:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: NotIn
|
||||
values: ["titan-13", "titan-14", "titan-15", "titan-17", "titan-19"]
|
||||
values: ["titan-13", "titan-15", "titan-17", "titan-19"]
|
||||
- target:
|
||||
kind: Deployment
|
||||
name: mailu-tika
|
||||
@ -844,14 +856,14 @@ spec:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: NotIn
|
||||
values: ["titan-13", "titan-14", "titan-15", "titan-17", "titan-19"]
|
||||
values: ["titan-13", "titan-15", "titan-17", "titan-19"]
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 100
|
||||
preference:
|
||||
matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: NotIn
|
||||
values: ["titan-13", "titan-14", "titan-15", "titan-17", "titan-19"]
|
||||
values: ["titan-13", "titan-15", "titan-17", "titan-19"]
|
||||
containers:
|
||||
- name: tika
|
||||
startupProbe:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user