Skip to content

alexellis/k3sup-linode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

k3sup-linode

This is a Terraform plan to create a K3s cluster on Linode with a Load Balancer and a private VLAN.

It's part of a blog post commissioned by Linode/Akamai for running production-ready FaaS:

How to set up production-ready K3s with OpenFaaS on Linode

HA K3s

What you'll get: HA K3s

Instructions

Clone this repository

Run: terraform init

Edit main.tfvars, set the amount of servers to an odd number, then add your api_token from the Linode dashboard.

Apply the plan:

terraform apply -var-file ./main.tfvars

The output will contain the Load Balancer IP address (TLS SAN for K3s) along with the public IPs and private VLAN IPs for the K3s servers.

The VLAN range is 192.168.3.0/24.

Adding agents is an exercise for the reader.

Then head over to the blog post to install K3s using K3sup and OpenFaaS.

License

MIT

About

Setup a HA K3sup cluster on Linode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages