a guest Aug 10th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. lifecycle:
  2.       postStart:
  3.         exec:
  4.           command:
  5.             - "/bin/bash"
  6.             - "-c"
  7.             - "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"}'"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand