From b5c0b7dfff9ccf5128aec3262e7d2b0162c400c7 Mon Sep 17 00:00:00 2001 From: Oscar Romeu Date: Sat, 4 May 2024 21:52:08 +0200 Subject: [PATCH] feat: update rook cluster nodes --- ansible/inventory/hosts.yaml | 6 ++++++ .../apps/rook-ceph/rook-ceph/cluster/helmrelease.yaml | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/ansible/inventory/hosts.yaml b/ansible/inventory/hosts.yaml index 3bd7cf9ad..cd88b6200 100644 --- a/ansible/inventory/hosts.yaml +++ b/ansible/inventory/hosts.yaml @@ -6,11 +6,17 @@ kubernetes: lphkm1: ansible_user: oscar ansible_host: 10.69.3.25 + ceph_drives: + - /dev/disk/by-id/ata-SSDPR-CL100-480-G3_GXE092715 worker: hosts: lphkw1: ansible_user: oscar ansible_host: 10.69.3.26 + ceph_drives: + - /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B7283215569 lphkw2: ansible_user: oscar ansible_host: 10.69.3.27 + ceph_drives: + - /dev/disk/by-id/ata-SSDPR-CL100-480-G3_G0Z047886 diff --git a/kubernetes/apps/rook-ceph/rook-ceph/cluster/helmrelease.yaml b/kubernetes/apps/rook-ceph/rook-ceph/cluster/helmrelease.yaml index 3532ed4ac..49fadeba0 100644 --- a/kubernetes/apps/rook-ceph/rook-ceph/cluster/helmrelease.yaml +++ b/kubernetes/apps/rook-ceph/rook-ceph/cluster/helmrelease.yaml @@ -69,6 +69,10 @@ spec: config: osdsPerDevice: "1" nodes: + ceph_drives: + - name: lphkm1 + devices: + - name: /dev/disk/by-id/ata-SSDPR-CL100-480-G3_GXE092715 - name: lphkw1 devices: - name: /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B7283215569