Skip to content

I have done the Kubernetes Cluster Setup in Public Cloud Using Ansible. This project shows to run Ansible Playbook for setting Cluster in AWS.

License

Notifications You must be signed in to change notification settings

KeshalaHapuarachchi/kubernetes-cluster-setup-using-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

kubernetes-cluster-setup-using-ansible

Kubernetes Cluster Setup in Public Cloud Using Ansible

Steps to run Ansible Playbook for setting Cluster in AWS

Ansible playbook is located in aws folder

Add the AWS instances IPs and ssh key path to aws-hosts file

Run the following commands:

 # check the ansible playbook syntax
 ansible-playbook --syntax-check kubernetes-cluster-1M-2W.yaml -i aws-hosts

 # run the playbook
 ansible-playbook kubernetes-cluster-1M-2W.yaml -i aws-hosts

The join command for worker nodes to join the master node is in the cluster-join.txt file created by kubeadm init command and is located in the home directory of your Master node

About

I have done the Kubernetes Cluster Setup in Public Cloud Using Ansible. This project shows to run Ansible Playbook for setting Cluster in AWS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published