Skip to content

Commit 0ca4b7f

Browse files
committed
fix(workflow): controller replicas error
1 parent 19b743e commit 0ca4b7f

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

_scripts/install.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,9 @@ fluentd:
359359
CONTAINER_TAIL_PARSER_TYPE: "/^(?<time>.+) (?<stream>stdout|stderr)( (?<tags>.))? (?<log>.*)$/"
360360
361361
controller:
362-
replicas: ${CONTROLLER_REPLICAS}
362+
apiReplicas: ${CONTROLLER_API_REPLICAS}
363+
celeryReplicas: ${CONTROLLER_CELERY_REPLICAS}
364+
webhookReplicas: ${CONTROLLER_WEBHOOK_REPLICAS}
363365
imageRegistry: ${DRYCC_REGISTRY}
364366
appStorageClass: ${CONTROLLER_APP_STORAGE_CLASS:-"drycc-storage"}
365367

src/quickstart/install-workflow.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,9 @@ KUBE_API_SERVER_PORT | Set with the PORT of the loadbalanc
197197
METALLB_CONFIG_FILE | The metallb config file path, layer 2 network is used by default
198198
INSTALL_DRYCC_MIRROR | Specify the accelerated mirror location. Currently, only `cn` is supported
199199
BUILDER_REPLICAS | Number of builder replicas to deploy
200-
CONTROLLER_REPLICAS | Number of controller replicas to deploy
200+
CONTROLLER_API_REPLICAS | Number of controller api replicas to deploy
201+
CONTROLLER_CELERY_REPLICAS | Number of controller celery replicas to deploy
202+
CONTROLLER_WEBHOOK_REPLICAS | Number of controller webhook replicas to deploy
201203
CONTROLLER_APP_STORAGE_CLASS | StorageClass allocated by `drycc volumes`; default storageClass is used by default
202204
REDIS_REPLICAS | Number of redis replicas to deploy
203205
REDIS_PERSISTENCE_SIZE | The size of the persistence space allocated to `redis`, which is `5Gi` by default

0 commit comments

Comments
 (0)