Skip to content

Commit 30b6393

Browse files
committed
chore(workflow): add options for install.sh scirpts
1 parent 9f29692 commit 30b6393

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

_scripts/install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,16 @@ helm install drycc drycc/workflow \
6868
--set fluentd.daemon_environment.CONTAINER_TAIL_PARSER_TYPE="/^(?<time>.+) (?<stream>stdout|stderr)( (?<tags>.))? (?<log>.*)$/" \
6969
--set controller.app_storage_class=longhorn \
7070
--set minio.persistence.enabled=true \
71-
--set minio.persistence.size=5Gi \
71+
--set minio.persistence.size=${MINIO_PERSISTENCE_SIZE:-5Gi} \
7272
--set minio.persistence.storageClass="longhorn" \
7373
--set rabbitmq.persistence.enabled=true \
74-
--set rabbitmq.persistence.size=5Gi \
74+
--set rabbitmq.persistence.size=${RABBITMQ_PERSISTENCE_SIZE:-5Gi} \
7575
--set rabbitmq.persistence.storageClass="longhorn" \
7676
--set influxdb.persistence.enabled=true \
77-
--set influxdb.persistence.size=5Gi \
77+
--set influxdb.persistence.size=${INFLUXDB_PERSISTENCE_SIZE:-5Gi} \
7878
--set influxdb.persistence.storageClass="longhorn" \
7979
--set monitor.grafana.persistence.enabled=true \
80-
--set monitor.grafana.persistence.size=5Gi \
80+
--set monitor.grafana.persistence.size=${MONITOR_PERSISTENCE_SIZE:-5Gi} \
8181
--set monitor.grafana.persistence.storageClass="longhorn" \
8282
--namespace drycc \
8383
--create-namespace

src/quickstart/install-workflow.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ ENVIRONMENT VARIABLE | DESCRIPTION
123123
PLATFORM_DOMAIN | Required item, specify drycc's domain name
124124
CHANNEL | By default, drycc of the `stable` channel will be installed. You can also specify `testing`
125125
INSTALL_K3S_MIRROR | Specify the accelerated mirror location. Currently, only `cn` is supported
126+
MINIO_PERSISTENCE_SIZE | The size of the persistence space allocated to `minio`, which is `5Gi` by default
127+
MONITOR_PERSISTENCE_SIZE | The size of the persistence space allocated to `monitor`, which is `5Gi` by default
128+
INFLUXDB_PERSISTENCE_SIZE | The size of the persistence space allocated to `influxdb`, which is `5Gi` by default
129+
RABBITMQ_PERSISTENCE_SIZE | The size of the persistence space allocated to `rabbitmq`, which is `5Gi` by default
126130

127131
Since the installation script will install k3s, other environment variables can refer to k3s installation [environment variables](https://rancher.com/docs/k3s/latest/en/installation/install-options/).
128132

0 commit comments

Comments
 (0)