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