How to create an always free K8S cluster in Oracle Cloud
Context
Oracle Cloud Infrastructure (OCI) has an always-free plan (here), where you have access FREE and FOREVER to some computing resources.
Among them, you will have access to:
- Two AMD Compute VMs (1/8 Core and 1 Gigabyte of RAM)
- Up to 4 instances of Arm Ampere A1 Compute (4 cores and 24 Gigabytes of RAM in total)
With this in mind, I started thinking about how I could create a useful environment for small apps using these resources.
After some research, I found the solution K3S (https://k3s.io/), a lightweight Kubernetes environment, with the most important feature: K3s supports ARM processors.
Then I started to study how to install K3S in my environment and finished using the following topology of machines and networks.
Hands-on
Networking
Go to the networking page and start removing the current VCN, then create a new one using the following configuration (use the Start VCN Wizard):
Select the option Create VCN with Internet Connectivity: