Deploy a Production Ready Kubernetes Cluster on bare metal or raw VMs - This is a clone of https://github.com/kubernetes-sigs/kubespray.git with a kitten twist.
ansibleawsbare-metalgcehacktoberfesthigh-availabilityk8s-sig-cluster-lifecyclekuberneteskubernetes-clusterkubespray
.gitignore | ||
bootstrap-master.sh | ||
bootstrap-node.sh | ||
custom.yaml | ||
deploy-k8s.kargo.sh | ||
kubedns.yaml | ||
README.md | ||
ssh-keygen.sh | ||
Vagrantfile |
vagrant-k8s
Scripts to create libvirt lab with vagrant and prepare some stuff for k8s
deployment with kargo
.
Requirements
libvirt
vagrant
vagrant-libvirt
plugin (vagrant plugin install vagrant-libvirt
)$USER
should be able to connect to libvirt (test withvirsh list --all
)
How-to
- Change default IP pool for vagrant networks if you want:
export VAGRANT_POOL="10.100.0.0/16"
- Prepare the virtual lab:
git clone https://github.com/adidenko/vagrant-k8s
cd vagrant-k8s
vagrant up
- Login to master node and deploy k8s with kargo:
vagrant ssh $USER-k8s-01
# Inside your master VM run this:
sudo su -
./deploy-k8s.kargo.sh