Kubernetes setup using vagrant
- Vagrant
- virtualbox
Step 1: to clone the repository
$ git clone https://github.com/wuchuhengtools/vagrant_k8s_cluster.git
$ cd vagrant_k8s_clusterStep 2: start up the cluster
$ vagrant up # <-- initialization cluster
$ vagrant ssh master
$ sudo su
# kubectl get nodes # <-- show the k8s cluster
NAME STATUS ROLES AGE VERSION
master Ready control-plane,master 19h v1.21.3
node0 Ready <none> 18h v1.21.3
node1 Ready <none> 18h v1.21.3You can contribute in one of three ways:
- File bug reports using the issue tracker.
- Answer questions or fix bugs on the issue tracker.
- Contribute new features or update the wiki.
MIT