Skip to content

Commit 721becf

Browse files
committed
chore(workflow): change net.core.rmem_max
1 parent 3128842 commit 721becf

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

_scripts/install.sh

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ function configure_os {
5252
swapoff -a
5353
sed -i '/ swap / s/^\(.*\)$/#\1/g' /etc/fstab
5454
mount bpffs -t bpf /sys/fs/bpf
55+
rmem_max=$(sysctl -ne net.core.rmem_max)
56+
if [ ! -n "$rmem_max" ] || [ 2500000 -gt $rmem_max ] ;then
57+
echo 'net.core.rmem_max=2500000' >> /etc/sysctl.conf
58+
sysctl -p
59+
fi
5560
}
5661

5762
function configure_registries {
@@ -156,10 +161,9 @@ ingressClass:
156161
enabled: true
157162
isDefaultClass: true
158163
additionalArguments:
159-
- "--entrypoints.websecure.http.tls"
160-
- "--experimental.http3=true"
161-
- "--entrypoints.websecure.http3"
162-
- "--entrypoints.websecure.http3.advertisedPort=443"
164+
- "--entrypoints.websecure.http.tls"
165+
- "--experimental.http3=true"
166+
- "--entrypoints.name.enablehttp3=true"
163167
EOF
164168

165169
helm install cert-manager drycc/cert-manager --namespace cert-manager --create-namespace --set installCRDs=true --wait
@@ -204,9 +208,9 @@ function check_drycc_env {
204208
function install_drycc {
205209
check_drycc_env
206210
echo -e "\\033[32m---> Start installing workflow...\\033[0m"
207-
208211
RABBITMQ_USERNAME=$(cat /proc/sys/kernel/random/uuid)
209212
RABBITMQ_PASSWORD=$(cat /proc/sys/kernel/random/uuid)
213+
210214
if [[ "${INSTALL_DRYCC_MIRROR}" == "cn" ]] ; then
211215
cat << EOF > "/tmp/drycc-values.yaml"
212216
imagebuilder:

charts/workflow/values.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,6 @@ fluentd:
276276

277277
monitor:
278278
grafana:
279-
user: "admin"
280-
password: "admin"
281279
# Configure the following ONLY if you want persistence for on-cluster grafana
282280
# GCP PDs and EBS volumes are supported only
283281
persistence:

0 commit comments

Comments
 (0)