shnee 6c2d3e3837 Updated get-vim-ips script to use hostnames.
- Made the qemu-agent content in the cloud-init config to be controlled
  by a 'install-qemu-agent' flag.
2021-12-10 10:01:06 -05:00
2021-11-16 14:36:57 -05:00
2021-11-15 09:14:33 -05:00
2021-12-09 13:46:54 -05:00

A Terraform script to create k8s nodes. This script has modules for creating the nodes on a KVM/QEMU (libvirt) hypervisor or creating the nodes via AWS.

The modules allow you create N VMs of a specific type. So you could create 1 master node and 3 worker nodes or you could create 3 Ubuntu VMs and 5 CentOS VMs, or whatever fits your needs.

Cloud-Init

Both the libvirt and aws modules use cloud-init for initial configuration of the VMs.

Dependencies

TODO REM add libvirt provider libvirt provider depends on mkisofs

security_driver = none for ubuntu host, link github issue. https://github.com/dmacvicar/terraform-provider-libvirt/issues/546

Other

Create a password hash.

python3 -c 'import crypt; print(crypt.crypt("test", crypt.mksalt(crypt.METHOD_SHA512)))'
S
Description
No description provided
Readme
278 KiB
Languages
HCL 83.9%
Shell 16.1%