Skip to content

Commit 0e3f235

Browse files
committed
clean up
1 parent 2c7debc commit 0e3f235

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

services/rabbit/Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,11 @@ TIMEOUT = 2m
8181
delete-volumes: ${CLEAN_VOLUMES_TEMP_COMPOSE} guard-optional-TIMEOUT guard-optional-bool-FORCE_CONFIRM
8282
delete-volumes: ## Delete rabbit data volumes
8383
@$(call confirm_action,Forever delete all rabbit data?,deleteforever,${FORCE_CONFIRM})
84-
8584
## avoid accumulating tasks https://github.com/moby/moby/issues/45443
8685
@docker stack rm --detach=false ${CLEAN_VOLUMES_STACK_NAME}
87-
8886
## use --detach=false to wait until all jobs complete successfully
8987
@timeout ${TIMEOUT} \
9088
docker stack deploy --detach=false --with-registry-auth --prune --compose-file ${CLEAN_VOLUMES_TEMP_COMPOSE} ${CLEAN_VOLUMES_STACK_NAME}
91-
9289
## cleaning up
9390
@docker stack rm ${CLEAN_VOLUMES_STACK_NAME}
9491

services/rabbit/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,3 @@ Not supported at the moment.
2727
2. (Inside container) execute `rabbitmq-upgrade drain`
2828

2929
Source: https://www.rabbitmq.com/docs/upgrade#maintenance-mode
30-
31-
## Rotating erlang cookie (zero-downtime)
32-
33-
In our case, a full stop of rabbit cluster is required (it means downtime). Nodes shall be started from scratch with a new erlang cookie. If zero-downtime update is an absolute must, blue-green deployments is a way to go according to core developers (see sources)
34-
35-
Source: https://github.com/rabbitmq/rabbitmq-server/discussions/14391

services/rabbit/docker-compose.yml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,5 +149,6 @@ configs:
149149
secrets:
150150
rabbit_erlang_cookie:
151151
# no rolling update since it requires full cluster restart
152+
# see https://github.com/rabbitmq/rabbitmq-server/discussions/14391
152153
name: rabbit_erlang_cookie
153154
file: ./configs/erlang.cookie.secret

0 commit comments

Comments
 (0)