K3s Aws Terraform Cluster Versions Save

Deploy an high available K3s cluster on Amazon AWS

v3.0

1 year ago

New features

  • Added EFS for persistent storage via AWS EFS csi driver.
  • Added the possibility to expose the kubeapi server to the internet. Access is granted only from my_public_ip_cidr for security reasons.
  • Added Lambda funcion to automatically delete removed nodes from k3s cluster (EC2 spot instances)
  • Added null_resource to fix Lambda orphan ENI. Ref.
  • Updated nginx ingress controller setup, updated nginx ingress release
  • Dynamic installation of node termination handler
  • Set to optional --node-ip, --advertise-address --flannel-iface params. This values will be used if k3s_subnet is not equal to default_route_table
  • Removed k3s_token variable, use random resurce instead
  • Added new var k3s_version. Default: latest
  • Added support for Amazion Linux OS

Minor changes

  • Fixed resource tags/names
  • Renamed agent resources to worker resources
  • Added SSM Policy to access EC2 from AWS console
  • Installation script refactoring

Bug fixes

  • Added lifecycle on k3s-workers
  • Fix allow_strict security group deletion on apply

What's Changed

Full Changelog: https://github.com/garutilorenzo/k3s-aws-terraform-cluster/compare/v2.2...v3.0

v2.2

1 year ago

Full Changelog: https://github.com/garutilorenzo/k3s-aws-terraform-cluster/compare/v2.1...v2.2

v2.1

1 year ago

Fix #4:

  • updated eu-west-1 ubuntu ami to the latest version
  • use instance id as default hostname, this setting is made on instance creation (launch template)
  • updated aws provider module
  • added some new tag
  • added output to main.tf

Full Changelog: https://github.com/garutilorenzo/k3s-aws-terraform-cluster/compare/v2.0...v2.1

v2.0

2 years ago
  • Resources are tagged with environment tag ( var.environment)
  • Fixed resource tagging
  • Added public LB
  • Rename k3s_cluster/loadbalancer.tf to k3s_cluster/k3slb.tf
  • Fixed hostname, set hostname equal to the instance_id
  • Added automaded creation of the Instance profile name
  • Added output: elb_dns_name, k3s_server_public_ips and k3s_workers_public_ips

v1.5

2 years ago

v1.0

2 years ago