File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
5762function configure_registries {
@@ -156,10 +161,9 @@ ingressClass:
156161 enabled: true
157162 isDefaultClass: true
158163additionalArguments:
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"
163167EOF
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 {
204208function 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"
212216imagebuilder:
Original file line number Diff line number Diff line change @@ -276,8 +276,6 @@ fluentd:
276276
277277monitor :
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 :
You can’t perform that action at this time.
0 commit comments