Skip to content

Moody-san/ansible-galeracluster-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Galera Cluster Deployment

This repository hosts Ansible playbooks for deploying a Galera Cluster with failover in k8s .

Prerequisites

  • Infra provisioned through IAC: Deployed infrastructure using terraform multi cloud iac (as it contains a module to automatically update inventory for ansible scripts given that ansible repo and terraform repo are in the same directories).
  • Ansible Controller Scripts: Run the setupiptables.yml and acceptfingerprint.yml from ansible_controller_setup repository . Link in Additional Resources .
  • Software Requirements: Ensure Ansible cli is installed.

Installation & Usage

To get started with deploying your Galera Cluster using Ansible, follow these steps:

git clone https://github.com/Moody-san/ansible-galeracluster-deployment.git
cd ansible-galeracluster-deployment/playbooks
ansible-playbook deploycluster.yml -i ../inventory/inventory
ansible-playbook addhealthscript.yml -i ../inventory/inventory

Additional Resources

How it works

https://www.youtube.com/watch?v=tebUOlwWW7g

Click here to View animated Gif

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages