@@ -204,6 +204,8 @@ function install_metallb() {
204204
205205 echo -e " \\ 033[32m--->Waiting metallb pods ready...\\ 033[0m"
206206 kubectl wait pods -n metallb --all --for condition=Ready --timeout=600s
207+ echo -e " \\ 033[32m--->Waiting metallb webhook ready...\\ 033[0m"
208+ sleep 30s
207209
208210 if [[ -z " ${METALLB_CONFIG_FILE} " ]] ; then
209211 echo -e " \\ 033[32m---> Metallb using the default configuration.\\ 033[0m"
@@ -333,14 +335,16 @@ global:
333335 ingressClass: traefik
334336
335337builder:
336- imageRegistry: ${DRYCC_REGISTRY}
338+ replicas: ${BUILDER_REPLICAS}
339+ imageRegistry: ${DRYCC_REGISTRY}
337340 service:
338341 type: LoadBalancer
339342 annotations:
340343 metallb.universe.tf/address-pool: public
341344 metallb.universe.tf/allow-shared-ip: drycc
342345
343346database:
347+ replicas: ${DATABASE_REPLICAS}
344348 imageRegistry: ${DRYCC_REGISTRY}
345349 limitsMemory: "256Mi"
346350 limitsHugepages2Mi: "256Mi"
@@ -355,10 +359,12 @@ fluentd:
355359 CONTAINER_TAIL_PARSER_TYPE: "/^(?<time>.+) (?<stream>stdout|stderr)( (?<tags>.))? (?<log>.*)$/"
356360
357361controller:
362+ replicas: ${CONTROLLER_REPLICAS}
358363 imageRegistry: ${DRYCC_REGISTRY}
359364 appStorageClass: ${CONTROLLER_APP_STORAGE_CLASS:- " drycc-storage" }
360365
361366redis:
367+ replicas: ${REDIS_REPLICAS}
362368 imageRegistry: ${DRYCC_REGISTRY}
363369 persistence:
364370 enabled: true
@@ -377,17 +383,20 @@ storage:
377383 storageClass: ${STORAGE_MINIO_PERSISTENCE_STORAGE_CLASS:- " " }
378384 meta:
379385 pd:
386+ replicas: ${STORAGE_META_PD_REPLICAS}
380387 persistence:
381388 enabled: true
382389 size: ${STORAGE_META_PD_PERSISTENCE_SIZE:- 10Gi}
383390 storageClass: ${STORAGE_META_PD_PERSISTENCE_STORAGE_CLASS:- " " }
384391 tikv:
392+ replicas: ${STORAGE_META_TIKV_REPLICAS}
385393 persistence:
386394 enabled: true
387395 size: ${STORAGE_META_TIKV_PERSISTENCE_SIZE:- 10Gi}
388396 storageClass: ${STORAGE_META_TIKV_PERSISTENCE_STORAGE_CLASS:- " " }
389397
390398rabbitmq:
399+ replicas: ${RABBITMQ_REPLICAS}
391400 imageRegistry: ${DRYCC_REGISTRY}
392401 username: "${RABBITMQ_USERNAME} "
393402 password: "${RABBITMQ_PASSWORD} "
@@ -400,6 +409,7 @@ imagebuilder:
400409 imageRegistry: ${DRYCC_REGISTRY}
401410
402411influxdb:
412+ replicas: ${INFLUXDB_REPLICAS}
403413 imageRegistry: ${DRYCC_REGISTRY}
404414 user: "${INFLUXDB_USERNAME} "
405415 password: "${INFLUXDB_PASSWORD} "
@@ -409,6 +419,7 @@ influxdb:
409419 storageClass: ${INFLUXDB_PERSISTENCE_STORAGE_CLASS:- " " }
410420
411421logger:
422+ replicas: ${LOGGER_REPLICAS}
412423 imageRegistry: ${DRYCC_REGISTRY}
413424
414425monitor:
@@ -423,11 +434,13 @@ monitor:
423434
424435
425436passport:
437+ replicas: ${PASSPORT_REPLICAS}
426438 imageRegistry: ${DRYCC_REGISTRY}
427439 adminUsername: ${DRYCC_ADMIN_USERNAME}
428440 adminPassword: ${DRYCC_ADMIN_PASSWORD}
429441
430442registry:
443+ replicas: ${REGISTRY_REPLICAS}
431444 imageRegistry: ${DRYCC_REGISTRY}
432445
433446registry-proxy:
0 commit comments