Galera cluster deployment based on docker swarm using Linux Containers (LXC) with automatic deployment via Ansible.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
158 B

4 years ago
#!/bin/bash
docker stack rm stack
lxc-stop --name worker1; lxc-stop --name worker2
docker node rm worker1; docker node rm worker2
rm -rf /var/lib/lxc/worker*