Skip to content

Commit 85e44e8

Browse files
authored
Add sample of 4-2 Storage. Update image version. Remove cpu limits (#98)
* Add sample of 4-2 Storage * Update image version * Remove cpu limits * Rename storage manifests
1 parent 2ac943b commit 85e44e8

File tree

5 files changed

+134
-14
lines changed

5 files changed

+134
-14
lines changed

samples/database.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@ metadata:
44
name: database-sample
55
spec:
66
image:
7-
name: cr.yandex/crptqonuodf51kdj7a7d/ydb:22.2.22
8-
nodes: 6
7+
name: cr.yandex/crptqonuodf51kdj7a7d/ydb:22.4.44
8+
nodes: 3
99
resources:
10-
containerResources:
11-
limits:
12-
cpu: 100m
1310
storageUnits:
1411
- count: 1
1512
unitKind: ssd

samples/minikube/database.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,13 @@ metadata:
44
name: database-minikube-sample
55
spec:
66
image:
7-
name: cr.yandex/crptqonuodf51kdj7a7d/ydb:22.2.22
7+
name: cr.yandex/crptqonuodf51kdj7a7d/ydb:22.4.44
88
nodes: 1
99
domain: Root
1010
service:
1111
grpc:
1212
externalHost: localhost
1313
resources:
14-
containerResources:
15-
limits:
16-
cpu: 500m
1714
storageUnits:
1815
- count: 1
1916
unitKind: ssd

samples/minikube/storage.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,10 @@ metadata:
55
spec:
66
dataStore: []
77
image:
8-
name: cr.yandex/crptqonuodf51kdj7a7d/ydb:22.2.22
8+
name: cr.yandex/crptqonuodf51kdj7a7d/ydb:22.4.44
99
nodes: 1
1010
domain: Root
1111
erasure: none
12-
resources:
13-
limits:
14-
cpu: 500m
1512
configuration: |-
1613
static_erasure: none
1714
host_configs:

samples/storage-block-4-2.yaml

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
apiVersion: ydb.tech/v1alpha1
2+
kind: Storage
3+
metadata:
4+
name: storage-sample
5+
spec:
6+
dataStore:
7+
- accessModes:
8+
- ReadWriteOnce
9+
resources:
10+
requests:
11+
storage: 93Gi
12+
volumeMode: Block
13+
image:
14+
name: cr.yandex/crptqonuodf51kdj7a7d/ydb:22.4.44
15+
nodes: 8
16+
erasure: block-4-2
17+
configuration: |-
18+
static_erasure: block-4-2
19+
host_configs:
20+
- drive:
21+
- path: /dev/kikimr_ssd_00
22+
type: SSD
23+
host_config_id: 1
24+
grpc_config:
25+
port: 2135
26+
domains_config:
27+
domain:
28+
- name: root
29+
storage_pool_types:
30+
- kind: ssd
31+
pool_config:
32+
box_id: 1
33+
erasure_species: block-4-2
34+
kind: ssd
35+
pdisk_filter:
36+
- property:
37+
- type: SSD
38+
vdisk_kind: Default
39+
state_storage:
40+
- ring:
41+
node: [ 1, 2, 3, 4, 5, 6, 7, 8 ]
42+
nto_select: 5
43+
ssid: 1
44+
actor_system_config:
45+
batch_executor: 2
46+
io_executor: 3
47+
executor:
48+
- name: System
49+
spin_threshold: 0
50+
threads: 2
51+
type: BASIC
52+
- name: User
53+
spin_threshold: 0
54+
threads: 3
55+
type: BASIC
56+
- name: Batch
57+
spin_threshold: 0
58+
threads: 2
59+
type: BASIC
60+
- name: IO
61+
threads: 1
62+
time_per_mailbox_micro_secs: 100
63+
type: IO
64+
- name: IC
65+
spin_threshold: 10
66+
threads: 1
67+
time_per_mailbox_micro_secs: 100
68+
type: BASIC
69+
scheduler:
70+
progress_threshold: 10000
71+
resolution: 256
72+
spin_threshold: 0
73+
service_executor:
74+
- executor_id: 4
75+
service_name: Interconnect
76+
blob_storage_config:
77+
service_set:
78+
availability_domains: 1
79+
groups:
80+
- erasure_species: block-4-2
81+
group_id: 0
82+
group_generation: 1
83+
rings:
84+
- fail_domains:
85+
- vdisk_locations:
86+
- node_id: 1
87+
pdisk_category: SSD
88+
path: /dev/kikimr_ssd_00
89+
- vdisk_locations:
90+
- node_id: 2
91+
pdisk_category: SSD
92+
path: /dev/kikimr_ssd_00
93+
- vdisk_locations:
94+
- node_id: 3
95+
pdisk_category: SSD
96+
path: /dev/kikimr_ssd_00
97+
- vdisk_locations:
98+
- node_id: 4
99+
pdisk_category: SSD
100+
path: /dev/kikimr_ssd_00
101+
- vdisk_locations:
102+
- node_id: 5
103+
pdisk_category: SSD
104+
path: /dev/kikimr_ssd_00
105+
- vdisk_locations:
106+
- node_id: 6
107+
pdisk_category: SSD
108+
path: /dev/kikimr_ssd_00
109+
- vdisk_locations:
110+
- node_id: 7
111+
pdisk_category: SSD
112+
path: /dev/kikimr_ssd_00
113+
- vdisk_locations:
114+
- node_id: 8
115+
pdisk_category: SSD
116+
path: /dev/kikimr_ssd_00
117+
channel_profile_config:
118+
profile:
119+
- channel:
120+
- erasure_species: block-4-2
121+
pdisk_category: 1
122+
storage_pool_kind: ssd
123+
- erasure_species: block-4-2
124+
pdisk_category: 1
125+
storage_pool_kind: ssd
126+
- erasure_species: block-4-2
127+
pdisk_category: 1
128+
storage_pool_kind: ssd
129+
profile_id: 0

samples/storage.yaml renamed to samples/storage-mirror-3dc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
requests:
1212
storage: 80Gi
1313
image:
14-
name: cr.yandex/crptqonuodf51kdj7a7d/ydb:22.2.22
14+
name: cr.yandex/crptqonuodf51kdj7a7d/ydb:22.4.44
1515
nodes: 9
1616
erasure: mirror-3-dc
1717
configuration: |-

0 commit comments

Comments
 (0)