Running the kube end-to-end tests locally on a cluster using vagrant...
0) sudo make clean all quick-release
1) export the vagrant / vbox parameters.
2) cluster/kube-up.sh
3) ssh into kube master.
4) sudo su
5) sudo /vagrant/_output/dockerized/bin/linux/amd64/e2e.test --provider=local --host=http://127.0.0.1:8080 -ginkgo.focus=Networking --kubeconfig=/opt/kube-creds
Note you can export NUM_MINIONS if you want to run a distributed test.
No comments:
Post a Comment