Skip to content

Commit 4a68c36

Browse files
committed
refactor
1 parent 222b3b1 commit 4a68c36

16 files changed

Lines changed: 60 additions & 54 deletions

File tree

apps/piraeus-operator/overlays/production/drbd-medium-nvme.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

apps/piraeus-operator/overlays/production/kustomization.yaml

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,7 @@ kind: Kustomization
33
namespace: piraeus-datastore
44
resources:
55
- https://github.com/piraeusdatastore/piraeus-operator//config/default?ref=v2.6.0
6-
- linstor-cluster.yaml
7-
- linstor-satellite-configuration.yaml
8-
- class-medium-nvme-immediate-delete.yaml
9-
- class-medium-nvme-immediate-retain.yaml
10-
- class-medium-nvme-wait-delete.yaml
11-
- class-medium-nvme-wait-retain.yaml
12-
# - class-optane-nvme
13-
# - class-fast-nvme
14-
# - class-slow-nvme
15-
# - boot drives
16-
# - zwkrcejc
17-
# - m.2 nvme 1TB Inland_TN320_NVMe_SSD_IB23AK0001P00505
18-
# - hlzonshx
19-
# - sata ssd 1TB Samsung_SSD_860_EVO_1TB_S3Z8NWAJC05002E
20-
# - fpexlxgk
21-
# - m.2 nvme 1TB (Inland) nvme-PCIe_SSD_23051610002029
22-
# - linstor/drbd/extra drives
23-
# - host*drives type
24-
# - 2*1 optane-1.5-nvme (u.2 1.5TB - Intel Optane DC P4800X Series 1.5TB PCIe NVMe 2.5in U.2 SSD SSDPE21K015TA)
25-
# - 3*1 medium-2.0-nvme (m.2 2.0TB - samsung 980 pro)
26-
# - 2*1 fast-1.0-nvme (m.2 1.0TB - samsung 990 pro)
27-
# - 2*2 fast-2.0-nvme (m.2 2.0TB - hp fx900 pro)
6+
- "*"
7+
- linstor-cluster/*
8+
- linstor-satellite-configuration/*
9+
- storage-class/*/*

apps/piraeus-operator/overlays/production/linstor-cluster.yaml

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: piraeus.io/v1
2+
kind: LinstorCluster
3+
metadata:
4+
name: external-01b
5+
namespace: piraeus-datastore
6+
spec:
7+
externalController:
8+
url: http://linstor.01b.us:3370
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: piraeus.io/v1
2+
kind: LinstorSatelliteConfiguration
3+
metadata:
4+
name: external-controller
5+
spec:
6+
podTemplate:
7+
spec:
8+
hostNetwork: true

apps/piraeus-operator/overlays/production/linstor-satellite-configuration.yaml renamed to apps/piraeus-operator/overlays/production/linstor-satellite-configuration/talos-loader.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
apiVersion: piraeus.io/v1
22
kind: LinstorSatelliteConfiguration
33
metadata:
4-
name: talos-loader-override
4+
name: talos-loader
55
spec:
66
podTemplate:
77
spec:
8-
hostNetwork: true
98
initContainers:
109
- name: drbd-shutdown-guard
1110
$patch: delete
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
- type: nvme_optane / nvme_nand / sata_ssd / sata_mixed / sata_hdd
2+
- general type of storage drive
3+
- latency: low_latency / medium_latency / high_latency
4+
- latency compared to other drives of the same type
5+
- throughput: ultra_low_throughput / low_throughput / medium_throughput / high_throughput / ultra_high_throughput / max_throughput
6+
- throughput compared to other drives of the same type
7+
- by-type: consumer_or_lower, prosumer/medium_enterprise, above_medium_enterprise, max_performance_for_form_factor
8+
- capacity: ultra_low_capacity / low_capacity / medium_capacity / high_capacity / ultra_high_capacity / max_capacity
9+
- max capacity per persistent volume
10+
- nvme: less_than_2, 2_to_4, more_than_4
11+
- hdd: less_than_12, 12_to_24, more_than_24
12+
13+
- 01b.us
14+
- boot drives
15+
- zwkrcejc
16+
- m.2 nvme 1TB Inland_TN320_NVMe_SSD_IB23AK0001P00505
17+
- hlzonshx
18+
- sata ssd 1TB Samsung_SSD_860_EVO_1TB_S3Z8NWAJC05002E
19+
- fpexlxgk
20+
- m.2 nvme 1TB (Inland) nvme-PCIe_SSD_23051610002029
21+
- linstor/drbd/extra drives
22+
- host*drives type
23+
- 2*1 optane-1.5-nvme (u.2 1.5TB - Intel Optane DC P4800X Series 1.5TB PCIe NVMe 2.5in U.2 SSD SSDPE21K015TA)
24+
- nvme_optane-medium_latency-medium_throughput-low_capacity
25+
- TODO
26+
- 3*1 medium-2.0-nvme (m.2 2.0TB - samsung 980 pro)
27+
- nvme_nand-medium_latency-low_throughput-medium_capacity
28+
- CREATED: storage-pool: xcp-sr-linstor_group_thin_device
29+
- 2*1 medium-1.0-nvme (m.2 1.0TB - samsung 990 pro)
30+
- nvme_nand-medium_latency-medium_throughput-low_capacity
31+
- TODO
32+
- 2*2 medium-2.0-nvme (m.2 2.0TB - hp fx900 pro)
33+
- nvme_nand-medium_latency-medium_throughput-medium_capacity
34+
- TODO

apps/piraeus-operator/overlays/production/disk-info.sh renamed to apps/piraeus-operator/overlays/production/storage-class/disk-info.sh

File renamed without changes.

apps/piraeus-operator/overlays/production/disks.fpexlxgk.txt renamed to apps/piraeus-operator/overlays/production/storage-class/disks.fpexlxgk.txt

File renamed without changes.

apps/piraeus-operator/overlays/production/disks.hlzonshx.txt renamed to apps/piraeus-operator/overlays/production/storage-class/disks.hlzonshx.txt

File renamed without changes.

0 commit comments

Comments
 (0)