Skip to content

Commit 9d98912

Browse files
committed
chore(workflow): change storage default replication
1 parent 5ffaf6b commit 9d98912

2 files changed

Lines changed: 3 additions & 38 deletions

File tree

_scripts/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ storage:
482482
storageClass: "${STORAGE_MAINNODE_TIPD_PERSISTENCE_STORAGE_CLASS}"
483483
weed:
484484
replicas: ${STORAGE_MAINNODE_WEED_REPLICAS:-1}
485+
defaultReplication: "${STORAGE_MAINNODE_WEED_DEFAULT_REPLICATION:-000}"
485486
persistence:
486487
enabled: true
487488
size: ${STORAGE_MAINNODE_WEED_PERSISTENCE_SIZE:-5Gi}
@@ -501,7 +502,7 @@ storage:
501502
storageClass: "${STORAGE_METANODE_WEED_PERSISTENCE_STORAGE_CLASS}"
502503
datanode:
503504
weed:
504-
replicas: ${STORAGE_DATANODE_WEED_REPLICAS:-4}
505+
replicas: ${STORAGE_DATANODE_WEED_REPLICAS:-1}
505506
persistence:
506507
enabled: true
507508
size: ${STORAGE_DATANODE_WEED_PERSISTENCE_SIZE:-10Gi}

src/quickstart/install-workflow.md

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,6 @@ Some basic software needs to be installed before installing drycc workflow.
2121
K8s requires a large number of ports. If you are not sure what they are, please close the local firewall or open these ports.
2222
At the same time, because k8s you need system time, you need to ensure that the system time is correct.
2323

24-
### Installing open-iscsi
25-
26-
The command used to install open-iscsi differs depending on the Linux distribution.
27-
We recommend using Ubuntu as the guest OS image since it contains open-iscsi already.
28-
You may need to edit the cluster security group to allow SSH access.
29-
For SUSE and openSUSE, use this command:
30-
31-
```
32-
$ zypper install open-iscsi
33-
```
34-
35-
For Debian and Ubuntu, use this command:
36-
37-
```
38-
$ apt-get install open-iscsi
39-
```
40-
41-
For RHEL, CentOS, and EKS with EKS Kubernetes Worker AMI with AmazonLinux2 image, use this command:
42-
43-
```
44-
$ yum install iscsi-initiator-utils
45-
```
46-
4724
### Installing NFSv4 client
4825

4926
The command used to install a NFSv4 client differs depending on the Linux distribution.
@@ -74,20 +51,6 @@ For RHEL, CentOS, and EKS with EKS Kubernetes Worker AMI with AmazonLinux2 image
7451
$ yum install curl
7552
```
7653

77-
### Installing bc
78-
79-
For Debian and Ubuntu, use this command:
80-
81-
```
82-
$ apt-get install bc
83-
```
84-
85-
For RHEL, CentOS, and EKS with EKS Kubernetes Worker AMI with AmazonLinux2 image, use this command:
86-
87-
```
88-
$ yum install bc
89-
```
90-
9154
## Hardware
9255

9356
Hardware requirements scale based on the size of your deployments. Minimum recommendations are outlined here.
@@ -210,6 +173,7 @@ STORAGE_MAINNODE_TIPD_REPLICAS | Number of storage mainode tipd
210173
STORAGE_MAINNODE_TIPD_PERSISTENCE_SIZE | The size of the persistence space allocated to `mainnode tipd`, which is `10Gi` by default
211174
STORAGE_MAINNODE_TIPD_PERSISTENCE_STORAGE_CLASS | StorangeClass of `mainnode tipd`; default storangeclass is used by default
212175
STORAGE_MAINNODE_WEED_REPLICAS | Number of storage mainode weed replicas to deploy
176+
STORAGE_MAINNODE_WEED_DEFAULT_REPLICATION | default replication type if not specified, which is `000` by default
213177
STORAGE_MAINNODE_WEED_PERSISTENCE_SIZE | The size of the persistence space allocated to `mainnode weed`, which is `10Gi` by default
214178
STORAGE_MAINNODE_WEED_PERSISTENCE_STORAGE_CLASS | StorangeClass of `mainnode weed`; default storangeclass is used by default
215179
STORAGE_METANODE_TIKV_REPLICAS | Number of storage metanode tikv replicas to deploy

0 commit comments

Comments
 (0)