File tree Expand file tree Collapse file tree 6 files changed +236
-0
lines changed Expand file tree Collapse file tree 6 files changed +236
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : ydb.tech/v1alpha1
2
+ kind : Database
3
+ metadata :
4
+ name : database-kind-sample
5
+ spec :
6
+ image :
7
+ name : cr.yandex/crptqonuodf51kdj7a7d/ydb:24.2.7
8
+ affinity :
9
+ podAntiAffinity :
10
+ requiredDuringSchedulingIgnoredDuringExecution :
11
+ - labelSelector :
12
+ matchExpressions :
13
+ - key : app.kubernetes.io/component
14
+ operator : In
15
+ values :
16
+ - storage-node
17
+ topologyKey : " kubernetes.io/hostname"
18
+ nodes : 3
19
+ resources :
20
+ storageUnits :
21
+ - count : 1
22
+ unitKind : ssd
23
+ storageClusterRef :
24
+ name : storage-kind-sample
Original file line number Diff line number Diff line change
1
+ apiVersion : ydb.tech/v1alpha1
2
+ kind : Database
3
+ metadata :
4
+ name : database-kind-sample
5
+ spec :
6
+ image :
7
+ name : cr.yandex/crptqonuodf51kdj7a7d/ydb:24.2.7
8
+ nodes : 1
9
+ resources :
10
+ storageUnits :
11
+ - count : 1
12
+ unitKind : ssd
13
+ storageClusterRef :
14
+ name : storage-kind-sample
Original file line number Diff line number Diff line change
1
+ kind : Cluster
2
+ apiVersion : kind.x-k8s.io/v1alpha4
3
+ nodes :
4
+ - role : control-plane
5
+ - role : worker
6
+ labels :
7
+ topology.kubernetes.io/zone : az-1
8
+ - role : worker
9
+ labels :
10
+ topology.kubernetes.io/zone : az-2
11
+ - role : worker
12
+ labels :
13
+ topology.kubernetes.io/zone : az-3
Original file line number Diff line number Diff line change
1
+ kind : Cluster
2
+ apiVersion : kind.x-k8s.io/v1alpha4
3
+ nodes :
4
+ - role : control-plane
5
+ - role : worker
6
+ labels :
7
+ topology.kubernetes.io/zone : az-1
Original file line number Diff line number Diff line change
1
+ apiVersion : ydb.tech/v1alpha1
2
+ kind : Storage
3
+ metadata :
4
+ name : storage-kind-sample
5
+ spec :
6
+ image :
7
+ name : cr.yandex/crptqonuodf51kdj7a7d/ydb:24.2.7
8
+ affinity :
9
+ podAntiAffinity :
10
+ requiredDuringSchedulingIgnoredDuringExecution :
11
+ - labelSelector :
12
+ matchExpressions :
13
+ - key : app.kubernetes.io/component
14
+ operator : In
15
+ values :
16
+ - storage-node
17
+ topologyKey : " kubernetes.io/hostname"
18
+ dataStore : []
19
+ nodes : 3
20
+ domain : Root
21
+ erasure : mirror-3-dc
22
+ configuration : |-
23
+ actor_system_config:
24
+ cpu_count: 1
25
+ node_type: STORAGE
26
+ use_auto_config: true
27
+ blob_storage_config:
28
+ service_set:
29
+ groups:
30
+ - erasure_species: mirror-3-dc
31
+ rings:
32
+ - fail_domains:
33
+ - vdisk_locations:
34
+ - node_id: 1
35
+ pdisk_category: SSD
36
+ path: SectorMap:1:64
37
+ - vdisk_locations:
38
+ - node_id: 1
39
+ pdisk_category: SSD
40
+ path: SectorMap:2:64
41
+ - vdisk_locations:
42
+ - node_id: 1
43
+ pdisk_category: SSD
44
+ path: SectorMap:3:64
45
+ - fail_domains:
46
+ - vdisk_locations:
47
+ - node_id: 2
48
+ pdisk_category: SSD
49
+ path: SectorMap:1:64
50
+ - vdisk_locations:
51
+ - node_id: 2
52
+ pdisk_category: SSD
53
+ path: SectorMap:2:64
54
+ - vdisk_locations:
55
+ - node_id: 2
56
+ pdisk_category: SSD
57
+ path: SectorMap:3:64
58
+ - fail_domains:
59
+ - vdisk_locations:
60
+ - node_id: 3
61
+ pdisk_category: SSD
62
+ path: SectorMap:1:64
63
+ - vdisk_locations:
64
+ - node_id: 3
65
+ pdisk_category: SSD
66
+ path: SectorMap:2:64
67
+ - vdisk_locations:
68
+ - node_id: 3
69
+ pdisk_category: SSD
70
+ path: SectorMap:3:64
71
+ channel_profile_config:
72
+ profile:
73
+ - channel:
74
+ - erasure_species: mirror-3-dc
75
+ pdisk_category: 0
76
+ storage_pool_kind: ssd
77
+ - erasure_species: mirror-3-dc
78
+ pdisk_category: 0
79
+ storage_pool_kind: ssd
80
+ - erasure_species: mirror-3-dc
81
+ pdisk_category: 0
82
+ storage_pool_kind: ssd
83
+ profile_id: 0
84
+ domains_config:
85
+ domain:
86
+ - name: Root
87
+ storage_pool_types:
88
+ - kind: ssd
89
+ pool_config:
90
+ box_id: 1
91
+ erasure_species: mirror-3-dc
92
+ kind: ssd
93
+ pdisk_filter:
94
+ - property:
95
+ - type: SSD
96
+ vdisk_kind: Default
97
+ state_storage:
98
+ - ring:
99
+ node: [1, 2, 3]
100
+ nto_select: 3
101
+ ssid: 1
102
+ grpc_config:
103
+ port: 2135
104
+ host_configs:
105
+ - drive:
106
+ - path: SectorMap:1:64
107
+ type: SSD
108
+ - path: SectorMap:2:64
109
+ type: SSD
110
+ - path: SectorMap:3:64
111
+ type: SSD
112
+ host_config_id: 1
113
+ static_erasure: mirror-3-dc
Original file line number Diff line number Diff line change
1
+ apiVersion : ydb.tech/v1alpha1
2
+ kind : Storage
3
+ metadata :
4
+ name : storage-kind-sample
5
+ spec :
6
+ dataStore : []
7
+ image :
8
+ name : cr.yandex/crptqonuodf51kdj7a7d/ydb:24.2.7
9
+ nodes : 1
10
+ domain : Root
11
+ erasure : none
12
+ configuration : |-
13
+ actor_system_config:
14
+ cpu_count: 1
15
+ node_type: STORAGE
16
+ use_auto_config: true
17
+ blob_storage_config:
18
+ service_set:
19
+ groups:
20
+ - erasure_species: none
21
+ rings:
22
+ - fail_domains:
23
+ - vdisk_locations:
24
+ - node_id: 1
25
+ path: SectorMap:1:64
26
+ pdisk_category: SSD
27
+ channel_profile_config:
28
+ profile:
29
+ - channel:
30
+ - erasure_species: none
31
+ pdisk_category: 0
32
+ storage_pool_kind: ssd
33
+ - erasure_species: none
34
+ pdisk_category: 0
35
+ storage_pool_kind: ssd
36
+ - erasure_species: none
37
+ pdisk_category: 0
38
+ storage_pool_kind: ssd
39
+ profile_id: 0
40
+ domains_config:
41
+ domain:
42
+ - name: Root
43
+ storage_pool_types:
44
+ - kind: ssd
45
+ pool_config:
46
+ box_id: 1
47
+ erasure_species: none
48
+ kind: ssd
49
+ pdisk_filter:
50
+ - property:
51
+ - type: SSD
52
+ vdisk_kind: Default
53
+ state_storage:
54
+ - ring:
55
+ node: [1]
56
+ nto_select: 1
57
+ ssid: 1
58
+ grpc_config:
59
+ port: 2135
60
+ host_configs:
61
+ - drive:
62
+ - path: SectorMap:1:64
63
+ type: SSD
64
+ host_config_id: 1
65
+ static_erasure: none
You can’t perform that action at this time.
0 commit comments