You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
shnee 9a01c09928 Fixed gitignore. 4 years ago
modules Cleaned up some TODOs. 4 years ago
.gitignore Fixed gitignore. 4 years ago
.terraform.lock.hcl Single AWS node is working. 4 years ago
README.md Added arch AWS image. 4 years ago
cloud_init.cfg Updated get-vim-ips script to use hostnames. 4 years ago
example.tfvars Merged common changes from ansible-test to master. 4 years ago
get-aws-node-status.sh Added a script to poll AWS node status. 4 years ago
get-libvirt-bridge-ips.sh libvirt bridged network interface 4 years ago
get-vm-ips.sh k8s cluster deployed to AWS. 4 years ago
main.tf Fixed missed merge conflict. 4 years ago
providers.tf Moved everything from k8s-nodes to the top-level. 4 years ago
variables.tf Cleaned up some TODOs. 4 years ago

README.md

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)))'