Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.09 KB

README.md

File metadata and controls

30 lines (24 loc) · 1.09 KB

Setup Kubernetes Cluster with Ansible

Setup kubernetes cluster with prometheus and Grafana as monitoring and private Docker registry all backed with glusterfs file storage.

System and Requirements:

Tested on Ubuntu 16.04 with Ansible 2.7.*

sudo add-apt-repository ppa:ansible/ansible-2.7
sudo apt-get update
sudo apt-get install ansible

Atleast Three VPS with 4GB RAM, 2vCPU for Master, Node and GlusterFS server.

Use ubuntu user to interact with Cluster after successful installation

Preflights:

Generate SSH-KEY on Master and add it to all Servers including Master, Nodes and GlusterFS.

Edit registry-with-authentication/configMap-docker.yaml with your own desired S3 Compatible storage.

Edit hosts With IPs and Addresses.

Installation

ansible-playbook -i hosts main.yaml

Cautions:

Certificate Names Can only contain alphabetic characters and hyphens.

grafana_admin_pw Must start with an alphabetic character.

Cluster Flow chart

mermaid