infra: bias gitea/monerod placement, bump synapse ensure job
This commit is contained in:
parent
4edc888246
commit
c9a9c801ec
@ -1,12 +1,12 @@
|
||||
# services/comms/oneoffs/synapse-admin-ensure-job.yaml
|
||||
# One-off job for comms/synapse-admin-ensure-14.
|
||||
# Purpose: synapse admin ensure 14 (see container args/env in this file).
|
||||
# One-off job for comms/synapse-admin-ensure-15.
|
||||
# Purpose: synapse admin ensure 15 (see container args/env in this file).
|
||||
# Run by setting spec.suspend to false, reconcile, then set it back to true.
|
||||
# Safe to delete the finished Job/pod; it should not run continuously.
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: synapse-admin-ensure-14
|
||||
name: synapse-admin-ensure-15
|
||||
namespace: comms
|
||||
spec:
|
||||
suspend: false
|
||||
|
||||
@ -29,12 +29,18 @@ spec:
|
||||
operator: In
|
||||
values: ["rpi4","rpi5"]
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 50
|
||||
- weight: 80
|
||||
preference:
|
||||
matchExpressions:
|
||||
- key: hardware
|
||||
operator: In
|
||||
values: ["rpi4"]
|
||||
values: ["rpi5"]
|
||||
- weight: 60
|
||||
preference:
|
||||
matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: NotIn
|
||||
values: ["titan-12","titan-13","titan-15","titan-17","titan-19"]
|
||||
containers:
|
||||
- name: monerod
|
||||
image: registry.bstein.dev/crypto/monerod:0.18.4.1
|
||||
|
||||
@ -127,6 +127,12 @@ spec:
|
||||
operator: NotIn
|
||||
values: ["true"]
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 100
|
||||
preference:
|
||||
matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: NotIn
|
||||
values: ["titan-13","titan-15","titan-17","titan-19"]
|
||||
- weight: 50
|
||||
preference:
|
||||
matchExpressions:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user