Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/canhanhan/kubernetes-lab
Ansible playbook to build a Kubernetes cluster
https://github.com/canhanhan/kubernetes-lab
kubernetes
Last synced: about 1 month ago
JSON representation
Ansible playbook to build a Kubernetes cluster
- Host: GitHub
- URL: https://github.com/canhanhan/kubernetes-lab
- Owner: canhanhan
- License: mit
- Created: 2019-05-18T23:00:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-19T21:04:33.000Z (over 5 years ago)
- Last Synced: 2023-10-21T11:19:05.575Z (about 1 year ago)
- Topics: kubernetes
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kubernetes-lab
A learning project to build Kubernetes cluster the hard way without kubeadm or other installers. This project is NOT intented for production use.- Generates a cluster with 2 controllers and 3 nodes.
- Installs:
- [Flannel](https://github.com/coreos/flannel)
- [MetalLB](https://github.com/danderson/metallb)
- [Helm](https://github.com/helm/helm)
- [Local Statis Provisioner (for persistant storage)](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner)
- [CoreDNS](https://github.com/coredns/deployment/tree/master/kubernetes)
- [Nginx-ingress](https://github.com/kubernetes/ingress-nginx)
- [Prometheus](https://github.com/prometheus/prometheus)
- [Grafana](https://github.com/grafana/grafana)
- [Elasticsearch](https://github.com/elastic/elasticsearch)/[FluentD](https://github.com/fluent/fluentd)/[Kibana](https://github.com/elastic/kibana)## Requirements
- [Vagrant](https://github.com/hashicorp/vagrant)
- [vagrant-vbguest](https://github.com/dotless-de/vagrant-vbguest)
- [Ansible (2.7.8 +)](https://github.com/ansible/ansible)
- [netaddr Python module](https://github.com/drkjam/netaddr)## Usage
```
pip install netaddr ansible
vagrant plugin install vagrant-vbguest
vagrant up
ansible-playbook -i inventory.yml playbook.yml
```