Vagrantfile for k8s cluster of 3 nodes.
- Host: Linux
- Vagrant >= 2.0.3 with plugin vagrant-vbguest
$ git clone https://github.com/qzchenwl/vagrant-k8s-cluster
$ cd vagrant-k8s-cluster
$ vagrant up
When vagrant up
succeeded, kubecfg.p12
and admin-user-token.txt
can be found in folder output/
.
Before visiting the dashboard through api-server, do the following steps:
- Trust certificate
output/kubecfg.p12
, which has password123456
. - Open url and login