Skip to content

Ansible playbook to setup multi node kubernetes cluster using kubeadm

Notifications You must be signed in to change notification settings

prabhu43/kubeadm-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubeadm-ansible

Ansible playbooks with roles to setup multi-node kubernetes cluster using kubeadm.

Prerequistes

  • 1 master machine - centos 7

  • 1+ worker machines - centos 7

  • Ansible (>=2.4) is required in the client machine from where cluster setup will run

If your trying to setup cluster in your local machine, use the Vagrantfile provided to create 3 centos7 virtual machine. Please change the cpu and memory requirements as per your need.

Configuration

  1. Change the inventory hosts configuration.

  2. Change the group variables (inventory/all.yml). Change the 'network_interface' to the correct one. Note: If the virtual machine is created using vagrant/virtualbox, network_interface will be 'eth1'.

About

Ansible playbook to setup multi node kubernetes cluster using kubeadm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published