The KUBErnetes INITiator
KubeInit provides Ansible playbooks and roles for the deployment and configuration of multiple Kubernetes distributions.
- A server with enough RAM and disk space (120GB in RAM and 300GB in disk).
- A hypervisor with Centos 8.
- We assume that the hypervisor node is called nyctea (defined in the inventory).
- Have root access with certificates.
ssh root@nyctea
ssh-keygen -t rsa -f ~/.ssh/id_rsa -q -P ""
curl -sS https://github.com/<your_github_username>.keys >> ~/.ssh/authorized_keys
exit
-
Adjust the inventory file and comment/uncomment the worker nodes you will need in your cluster.
-
Run the playbook and enjoy
git clone https://github.com/ccamacho/kubeinit.git
cd kubeinit
ansible-playbook \
--user root \
-v -i ./hosts/okd/inventory \
--become \
--become-user root \
./playbooks/okd.yml
After provisioning any of the scenarios, you should have your environment ready to go.
To connect to the nodes from the hypervisor use the IP addresses from the inventory files.
KubeInit is open source software licensed under the Apache license.