mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
3eb2ec101e1a477b70e882b546d69616b50d46aa
vagrant-k8s
Scripts to create libvirt lab with vagrant and prepare some stuff for k8s deployment with kargo.
Requirements
libvirtvagrantvagrant-libvirtplugin (vagrant plugin install vagrant-libvirt)$USERshould 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"
- If you want to run OpenStack CCP (Containerised Control Plane) then you need to pull CCP repos and patches:
pushd ccp
./ccp-pull.sh
popd
- 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
- In order to deploy OpenStack CCP login to your master node and run this:
vagrant ssh $USER-k8s-01
# Inside your master VM run this:
sudo su -
./deploy-ccp.sh
Description
Deploy a Production Ready Kubernetes Cluster
ansibleawsbare-metalgcehacktoberfesthigh-availabilityk8s-sig-cluster-lifecyclekuberneteskubernetes-clusterkubespray
Readme
Apache-2.0
169 MiB
Languages
Jinja
82.4%
HCL
12.1%
Python
3.1%
Shell
1.9%
Dockerfile
0.3%
Other
0.1%