Modules for testing and development of k3s with Ocean by Spot
- VPC with 2 subnets in region of choice
- k3s master
- AWS k8s Cloud Provider
- AWS EBS CSI Driver
- Ocean by Spot worker nodes
Provision master and Ocean workers
module "ocean_k3s_aws" {
source = "github.com/kmcgrath/k3s-terraform-modules//modules/ocean_k3s_aws"
ocean_account = "act-XXXXXX"
ocean_controller_token = "SECRET"
region = "us-east-1"
ssh_key_name = "my-key"
cluster_name = "ocean-k3s"
}
- VPC with 2 subnets in region of choice
- k3s master
- AWS k8s Cloud Provider
- AWS EBS CSI Driver
- Worker nodes
Provision master and Ocean workers
module "k3s_aws" {
source = "github.com/kmcgrath/k3s-terraform-modules//modules/k3s_aws"
region = "us-east-1"
ssh_key_name = "my-key"
worker_count = 1
}