Hands-ON Kubernetes Filkom UB
This repository will help how to install kubernetes on your local pc/laptop with two nodes (1 master and 1 worker node).
Requirements
- VirtualBox
- Vagrant
- Make
- Ansible
- kubectl
- Rancher Kubernetes Engine
- 4GB of Free Memory (Recommended)
- Mac OS / Linux Working Environment
Installation Environment
Use command below to provision the machine, and install Kubernetes on premise with Rancher Kubernetes Engine
$ make all
if you want to only spawn VM with docker installed and configured for kubernetes installation
$ make start-vm
If you want to only install Kubernetes after you use start-vm
$ make start-kubernetes
If you want to remove Kubernetes installation after you use start-kubernetes
$ make rm-kubernetes
If you want to stop the vm
$ make stop-vm
If you want to remove the vm
$ make rm-vm
if you want to restart the vm
$ make reload-vm
if you want to backup the etcd kubernetes
$ make backup-kubernetes
if you want to restore the etcd kubernetes
$ make restore-kubernetes