Skip to content

Terraform script to bootstrap a fully working multi region k3s cluster embedding the vertical scaling KEP 1287

License

Notifications You must be signed in to change notification settings

deib-polimi/k3s-vertical-scaling-multi-regioncluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NEPTUNE Infrastructure

Politecnico di Milano

Overview

NEPTUNE-infrastructure is an infrastructure as code definition for k3s cluster in edge-autoscaler project. It uses Terraform to create multi-region and multi-availability zones AWS clusters with networking delays similar to an edge computing cluster.

Getting started

  • terraform init
  • terraform validate
  • create a scripts directory and populate it with the files that should be copied on each node (at least k3s executable is required)
  • create a valid plan:
    terraform plan -out plan \  
    -var 'AWS_CREDENTIALS_FILEPATH=<value>' \  
    -var 'SSH_PUBLIC_KEYPATH=<value>' \  
    -var 'SSH_PRIVATE_KEYPATH=<value>'
  • apply the plan
terraform apply plan
  • Enjoy your k3s cluster

About

Terraform script to bootstrap a fully working multi region k3s cluster embedding the vertical scaling KEP 1287

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages