feat: allow setting worker node root volume size

Description

This pull request introduces a feature allowing users to specify the root volume size for worker nodes in Kubernetes clusters deployed on AWS. By adding the worker_node_volume_size variable, the configuration now supports flexible storage customization for each worker node's root volume. This can be helpful to prevent disk space issues when the worker nodes are running many containers.

Supporting information

Testing instructions

Steps to test the changes:

  1. Deploy a new AWS cluster or apply the changes to an existing test cluster.
  2. Add the following to cluster.yml:
TF_VAR_worker_node_volume_size: 40
  1. Run ./tf plan and check the changes a new launch template configuration.
  2. Run ./tf apply
  3. Run aws autoscaling start-instance-refresh --auto-scaling-group-name <auto-scaling-group-name> and wait for it to finish.
  4. Ensure the worker nodes now have a 40GB EBS disk attached.

Dependencies

None

Screenshots

None

Checklist

If any of the items below are not applicable, do not remove them, but put a check in it.

  • All providers include the new feature/change
  • All affected providers can provision new clusters
  • Unit tests are added/updated
  • Documentation is added/updated
  • The TOOLS_CONTAINER_IMAGE_VERSION in ci_vars.yml is updated
  • The grove-template repository is updated

Additional context

None

Edited by Paulo Viadanna

Merge request reports

Loading