Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lifecycle:
- postStart:
- exec:
- command:
- - "/bin/bash"
- - "-c"
- - "for i in $(seq 15 -1 1); do sleep 2; done; until rabbitmqctl status; do sleep 2; done; rabbitmqctl set_policy ha "." '{"ha-mode":"exactly", "ha-params":2, "ha-sync-mode":"automatic"}'"
Add Comment
Please, Sign In to add comment