From c9a9c801ec1f141820954e4a965a582d7dcf2ece Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Sat, 7 Feb 2026 10:48:48 -0300 Subject: [PATCH] infra: bias gitea/monerod placement, bump synapse ensure job --- services/comms/oneoffs/synapse-admin-ensure-job.yaml | 6 +++--- services/crypto/monerod/deployment.yaml | 10 ++++++++-- services/gitea/deployment.yaml | 6 ++++++ 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/services/comms/oneoffs/synapse-admin-ensure-job.yaml b/services/comms/oneoffs/synapse-admin-ensure-job.yaml index 432f157..50a5a98 100644 --- a/services/comms/oneoffs/synapse-admin-ensure-job.yaml +++ b/services/comms/oneoffs/synapse-admin-ensure-job.yaml @@ -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 diff --git a/services/crypto/monerod/deployment.yaml b/services/crypto/monerod/deployment.yaml index 9d64864..55c9a38 100644 --- a/services/crypto/monerod/deployment.yaml +++ b/services/crypto/monerod/deployment.yaml @@ -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 diff --git a/services/gitea/deployment.yaml b/services/gitea/deployment.yaml index febb799..8a59349 100644 --- a/services/gitea/deployment.yaml +++ b/services/gitea/deployment.yaml @@ -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: