This project enables the creation of a K3s cluster leveraging Oracle Cloud's 'always free' resources. It simplifies the setup process using Terraform and integrates essential tools like Tailscale for secure networking and Cloudflare for DNS management, making it ideal for those wanting to explore K3s without incurring costs.
k3s-oci-always-free is a robust solution for deploying a lightweight Kubernetes cluster using the Oracle Cloud's "always free" resources. This project is designed to provide a streamlined setup for developers and teams looking to leverage Oracle's cloud infrastructure in conjunction with essential tools and services for a seamless application deployment experience.
Before deploying, ensure that you have an Oracle Cloud account, a Tailscale account, a Cloudflare account, along with the Terraform CLI and kubectl CLI installed and configured.
.env.template to .env, and filling in the necessary values.source .env in your shell.terraform init.terraform import module.tailscale.tailscale_acl.cluster_acl acl.terraform apply, noting that some errors may be expected during the initial setup.local.is_ready becomes true.terraform apply -target module.helm.terraform apply to finalize the DNS setup once the Cloudflare records are established.To manage your Kubernetes configuration securely:
terraform output fetch_kubeconfig | xargs | sh.terraform output merge_kubeconfig | xargs | sh.Be prepared for common issues, such as:
terraform apply -target module.helm.Leveraging k3s-oci-always-free allows developers to fully utilize Kubernetes capabilities on Oracle Cloud at no cost, ensuring a feature-rich environment while minimizing operational overhead.
No comments yet.
Sign in to be the first to comment.