Skip to content

Commit

Permalink
chore(workflow): add volume size limit
Browse files Browse the repository at this point in the history
  • Loading branch information
duanhongyi committed Feb 23, 2024
1 parent 9d98912 commit 756fc23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,8 @@ storage:
storageClass: "${STORAGE_MAINNODE_TIPD_PERSISTENCE_STORAGE_CLASS}"
weed:
replicas: ${STORAGE_MAINNODE_WEED_REPLICAS:-1}
volumePreallocate: ${STORAGE_MAINNODE_WEED_PREALLOCATE:-false}
volumeSizeLimitMB: ${STORAGE_MAINNODE_WEED_SIZE_LIMIT_MB:-512}
defaultReplication: "${STORAGE_MAINNODE_WEED_DEFAULT_REPLICATION:-000}"
persistence:
enabled: true
Expand Down
2 changes: 2 additions & 0 deletions src/quickstart/install-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ STORAGE_MAINNODE_TIPD_REPLICAS | Number of storage mainode tipd
STORAGE_MAINNODE_TIPD_PERSISTENCE_SIZE | The size of the persistence space allocated to `mainnode tipd`, which is `10Gi` by default
STORAGE_MAINNODE_TIPD_PERSISTENCE_STORAGE_CLASS | StorangeClass of `mainnode tipd`; default storangeclass is used by default
STORAGE_MAINNODE_WEED_REPLICAS | Number of storage mainode weed replicas to deploy
STORAGE_MAINNODE_WEED_PREALLOCATE | Preallocate disk space for volumes, `false` is used by default
STORAGE_MAINNODE_WEED_SIZE_LIMIT_MB | Master stops directing writes to oversized volumes, `30000` is used by default
STORAGE_MAINNODE_WEED_DEFAULT_REPLICATION | default replication type if not specified, which is `000` by default
STORAGE_MAINNODE_WEED_PERSISTENCE_SIZE | The size of the persistence space allocated to `mainnode weed`, which is `10Gi` by default
STORAGE_MAINNODE_WEED_PERSISTENCE_STORAGE_CLASS | StorangeClass of `mainnode weed`; default storangeclass is used by default
Expand Down

0 comments on commit 756fc23

Please sign in to comment.