/highly-available-k8s-cluster

Deploying a highly available k8s cluster (HAProxy, keepalived, and kubeadm) using Ansible.

Primary LanguageJinja

Deploying a production-ready highly available Kubernetes cluster

About this

This is a guide to deploy a highly available Kubernetes cluster using haproxy, keepalived and kubeadm. After the playbook is executed, you'll have a join command for adding new nodes to the cluster. The playbook doesn't handle joining nodes yet. the join commands will be available at ./join_command file.

Requirements

  • Ansible
  • SSH access to at least 2 nodes

How to use

  • Clone this repo
git clone
ansible-playbook playbook.yml -i inventory