From cf842b0442f5dbf45ad8925fbd27c5fcf74f75f6 Mon Sep 17 00:00:00 2001 From: Serge Bazanski Date: Tue, 19 Jan 2021 20:08:23 +0100 Subject: [PATCH] k0: reflect reality This is after the monster^Wrook outage of the week two weeks ago caused by bc01n03 dying. Plan is to migrate ceph-waw3 to be external, yeet ceph-waw2, and extend crdb-waw1 to another node. Change-Id: I133af3b1171fea383b45bf06c51e48a5c40341e4 --- cluster/kube/k0.libsonnet | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/cluster/kube/k0.libsonnet b/cluster/kube/k0.libsonnet index ad6b735a..aeb1d352 100644 --- a/cluster/kube/k0.libsonnet +++ b/cluster/kube/k0.libsonnet @@ -110,11 +110,6 @@ local rook = import "lib/rook.libsonnet"; location: "rack=dcr01 chassis=bc01 host=bc01n02", devices: [ { name: "sda" } ], }, - { - name: "bc01n03.hswaw.net", - location: "rack=dcr01 chassis=bc01 host=bc01n03", - devices: [ { name: "sda" } ], - }, ], }, benji:: { @@ -185,7 +180,7 @@ local rook = import "lib/rook.libsonnet"; waw3: rook.Cluster(k0.cluster.rook, "ceph-waw3") { spec: { mon: { - count: 3, + count: 1, allowMultiplePerNode: false, }, storage: { @@ -267,8 +262,8 @@ local rook = import "lib/rook.libsonnet"; spec: { failureDomain: "osd", erasureCoded: { - dataChunks: 12, - codingChunks: 4, + dataChunks: 2, + codingChunks: 1, }, }, },