You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rick 51102e7f4c
-- added readme
5 months ago
..
runner -- added k3s secure and insecure 5 months ago
README.MD -- added readme 5 months ago
insecure.main.tf -- added readme 5 months ago
secure.main.tf -- added k3s secure and insecure 5 months ago
terraform.tfvars -- added k3s secure and insecure 5 months ago

README.MD

K3S using terraform and openstack

Using these scripts a K3S culster will be installed in the openstack cluster. To change the values such as node count, DNS, PV size please use the tfvars file which is located in the same location.

  • A wait time has been implimented as we were not able to set a time till the cluster comes up. we clould have also checked the file but in K3S as soon as the process in executed the file is created so we cant base it thus we have added a timer of 120s but depends on cluster load and netspeed

  • Note of num_worker_nodes is set to 0 the master will become a single node K3S cluster. if its more than 0 then a taint will be applied into master so no pods can go there

  • In the script we have allowed all inbound traffic which should not be done a sample code to allow specific ports are given there. Its always good idea to open only needed ports