Files for devops use.
TF Files for Terraform that creates tiny almost-free kubernets cluster on Oracle Cloud(ARM shape, 2 work nodes)
Before use, you should have three env variables set:
export TF_VAR_compartment_id=<Compartment OCID for cluster>
export TF_VAR_region=<region>
export TF_VAR_ssh_public_key=<SSH public key for maintenance>
Note:
- The created SSH key should be no password or there are errors encoutered while running
terraform apply - Use
oci ce node-pool-options get --node-pool-option-id allto navigate available image id for nodes. It seems only Oracle Linux is supported (not sure) - Check the number of domains of the chosen region for Oracle Cloud from (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm)
- It will be encountered as a resource limitation error while using trial subscription. The billing program should be upgraded to pay-as-you-go plan to go for the instruction. However, it may cost no more money.
The instruction comes from [Free Oracle Cloud Kubernetes Cluster With Terraform] (https://arnoldgalovics.com/oracle-cloud-kubernetes-terraform/)