Skip to content

Commit 9d81082

Browse files
committed
chore(workflow): change default storage datanode replicas
1 parent 3f4e6d8 commit 9d81082

3 files changed

Lines changed: 10 additions & 13 deletions

File tree

_scripts/install.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -495,12 +495,11 @@ storage:
495495
storageClass: "${STORAGE_METANODE_WEED_PERSISTENCE_STORAGE_CLASS}"
496496
datanode:
497497
weed:
498-
replicas: ${STORAGE_DATANODE_WEED_REPLICAS:-3}
498+
replicas: ${STORAGE_DATANODE_WEED_REPLICAS:-4}
499499
persistence:
500-
hdd:
501-
enabled: true
502-
size: ${STORAGE_DATANODE_WEED_PERSISTENCE_SIZE:-10Gi}
503-
storageClass: "${STORAGE_DATANODE_WEED_PERSISTENCE_STORAGE_CLASS}"
500+
enabled: true
501+
size: ${STORAGE_DATANODE_WEED_PERSISTENCE_SIZE:-10Gi}
502+
storageClass: "${STORAGE_DATANODE_WEED_PERSISTENCE_STORAGE_CLASS}"
504503
505504
rabbitmq:
506505
replicas: ${RABBITMQ_REPLICAS:-1}

_scripts/uninstall.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
set -eo pipefail
33
shopt -s expand_aliases
44

5+
# clean cilium
56
ip link delete cilium_host > /dev/null 2>&1 || true
67
ip link delete cilium_net > /dev/null 2>&1 || true
78
ip link delete cilium_vxlan > /dev/null 2>&1 || true
89
ip link delete nodelocaldns > /dev/null 2>&1 || true
10+
iptables-save | grep -iv cilium | iptables-restore || true
11+
ip6tables-save | grep -iv cilium | ip6tables-restore || true
912

1013
/usr/local/bin/k3s-killall.sh
1114

charts/workflow/values.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,9 @@ storage:
132132
weed:
133133
replicas: 3
134134
persistence:
135-
ssd:
136-
enabled: false
137-
size: 5Gi
138-
storageClass: ""
139-
hdd:
140-
enabled: false
141-
size: 5Gi
142-
storageClass: ""
135+
enabled: false
136+
size: 5Gi
137+
storageClass: ""
143138
# The following parameters are configured only when using an off-cluster Storage instance
144139
lookup: path
145140
health: ""

0 commit comments

Comments
 (0)