Vagrant config with Virtualbox provider to run a full local Kubernetes cluster using the source directory from your Mac.
No scripts. Step by step for full understing the process.
Topics:
- Mac computer
- Virtualbox
- Vagrant
- Ubuntu 16.04+
- kubeadm
- Flannel
- Create a deployment that manages a Pod
- Scaling
- Create a service
- Access the service
- Test the service
- Update your app to version 2
- Rollback your app to version 1
- Rollback your app to version 2
- Access your cluster from your local machine
- Getting admin.conf from server and copy to your local machine
- Dashboard
- RBAC role
- Access Dashboard On local machine
- Access Service On local machine
- Persistent storage
- Golang example using hostPath
single-machine
https://github.com/topconnector/tc-kubernetes-virtualbox-macos/blob/master/single-machine
or
multiple-machines
https://github.com/topconnector/tc-kubernetes-virtualbox-macos/tree/master/multiple-machines