Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nfisher/k8smulti
multimode k8s vagrant cluster
https://github.com/nfisher/k8smulti
kubernetes kubernetes-setup vagrant
Last synced: 2 months ago
JSON representation
multimode k8s vagrant cluster
- Host: GitHub
- URL: https://github.com/nfisher/k8smulti
- Owner: nfisher
- Created: 2019-05-30T23:48:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-28T14:36:42.000Z (9 months ago)
- Last Synced: 2024-04-28T15:38:34.107Z (9 months ago)
- Topics: kubernetes, kubernetes-setup, vagrant
- Language: Shell
- Homepage:
- Size: 85 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# k8smulti
Provides a multinode cluster on your local machine.
## Provides
- 1 x cache (1vcpu & 512MB ram)
- 1 x master (2vcpu & 2GB ram)
- 2 x worker nodes (2vcpu & 4GB ram)
- 1 x cache (1vcpu & 512MB ram)
- k8s v1.20.5.
- helm 3.x.
- API - 192.168.56.100:6443.
- kube config - k8smulti/config## Required Software
- [Vagrant](https://www.vagrantup.com)
- [VirtualBox](https://www.virtualbox.org)## Getting Started
1. Install the required software.
2. Run `vagrant up` to provision the nodes.
3. Run `vagrant ssh master` and check the master is ready with `kubectl get nodes -o wide`.
4. Run `vagrant ssh master`, check the nodes are ready with `kubectl get nodes -o wide`.**Note**: Kubernetes config is available on the host in `/home/vagrant/.kube/config` on master or `config` in the projects root.
## Networking Overview
### Calico - CIDR Ranges
| Name | Network |
| -------------- | ---------------- |
| Host | 192.168.56.0/24 |
| Pods (default) | 10.217.0.0/16 |
| Pods (pool1) | 10.218.1.0/24 |
| Pods (pool2) | 10.218.2.0/24 |## References
- [kube-router](https://github.com/cloudnativelabs/kube-router/blob/master/docs/index.md) - network overlay.
- [pod-toolbox](https://github.com/cloudnativelabs/kube-router/blob/master/docs/pod-toolbox.md#pod-toolbox) - useful for understanding network behaviour.