blob: bb6f375f01dc88ca3270eb6fcb1f96b58f7f98d4 [file] [log] [blame]
Vladimir Khlyunevcc648af2024-04-25 19:56:40 +04001apiVersion: kaas.mirantis.com/v1alpha1
2kind: KaaSCephCluster
3metadata:
4 name: mosk-ceph
5 namespace: mosk
6spec:
7 cephClusterSpec:
8 objectStorage:
9 rgw:
10 name: rgw-store
11 metadataPool:
12 failureDomain: host
13 replicated:
14 size: 3
15 deviceClass: ssd
16 dataPool:
17 failureDomain: host
18 erasureCoded:
19 dataChunks: 2
20 codingChunks: 1
21 deviceClass: ssd
22 gateway:
23 allNodes: false
24 instances: 3
25 port: 80
26 securePort: 8443
27 preservePoolsOnDelete: false
28# sharedFilesystem:
29# cephFS:
30# - name: cephfs-store
31# dataPools:
32# - name: cephfs-pool-1
33# deviceClass: ssd
34# replicated:
35# size: 3
36# failureDomain: host
37# metadataPool:
38# deviceClass: ssd
39# replicated:
40# size: 3
41# failureDomain: host
42# metadataServer:
43# activeCount: 1
44# activeStandby: false
45 network:
46 clusterNet: 10.12.1.0/24
47 publicNet: 10.12.0.0/24
48 nodes:
49 cz8061:
50 roles:
51 - mgr
52 - mon
53# - mds
54 - rgw
55 - osd
56 storageDevices:
57 - fullPath: /dev/disk/by-id/scsi-SATA_WDC_WDS500G2B0A-_172906426485
58 config:
59 deviceClass: ssd
60 osdsPerDevice: "2"
61 cz9039:
62 roles:
63 - mgr
64 - mon
65# - mds
66 - rgw
67 - osd
68 storageDevices:
69 - fullPath: /dev/disk/by-id/scsi-SATA_Samsung_SSD_850_S2RBNB0HA00867N
70 config:
71 deviceClass: ssd
72 osdsPerDevice: "2"
73 cz9046:
74 roles:
75 - mgr
76 - mon
77 - rgw
78# - mds
79 - osd
80 storageDevices:
81 - fullPath: /dev/disk/by-id/scsi-SATA_WDC_WDS500G2B0A-_172906422906
82 config:
83 deviceClass: ssd
84 osdsPerDevice: "2"
85 pools:
86 - default: true
87 deviceClass: ssd
88 name: kubernetes
89 replicated:
90 size: 3
91 role: kubernetes
92 - default: false
93 deviceClass: ssd
94 name: volumes
95 replicated:
96 size: 3
97 role: volumes
98 - default: false
99 deviceClass: ssd
100 name: vms
101 replicated:
102 size: 3
103 role: vms
104 - default: false
105 deviceClass: ssd
106 name: backup
107 replicated:
108 size: 3
109 role: backup
110 - default: false
111 deviceClass: ssd
112 name: images
113 replicated:
114 size: 3
115 role: images
116 - default: false
117 deviceClass: ssd
118 name: other
119 replicated:
120 size: 3
121 role: other
122 k8sCluster:
123 name: mosk
124 namespace: mosk