Rick
51102e7f4c
|
5 months ago | |
---|---|---|
.. | ||
runner | 5 months ago | |
README.MD | 5 months ago | |
insecure.main.tf | 5 months ago | |
secure.main.tf | 5 months ago | |
terraform.tfvars | 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 to0
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