diff --git a/.github/workflows/build-manual.yaml b/.github/workflows/build-manual.yaml index 109841cb3..ccc1e5aa0 100644 --- a/.github/workflows/build-manual.yaml +++ b/.github/workflows/build-manual.yaml @@ -35,9 +35,9 @@ on: required: true default: 1234 type: string - os_distro: + launch_block_device_mappings_additional_volume_size: required: true - default: al2 + default: 300 type: string goal: required: true @@ -93,13 +93,14 @@ jobs: uses: ./.github/actions/ci/build with: k8s_version: ${{ inputs.k8s_version_short }} - os_distro: ${{ inputs.os_distro }} + os_distro: "al2" build_id: ${{ needs.setup.outputs.build_id }} additional_arguments: | aws_region=${{ inputs.aws_region }} \ kubernetes_version=${{ inputs.k8s_version }} \ kubernetes_build_date=${{ inputs.k8s_build_date }} \ launch_block_device_mappings_volume_size=20 \ + launch_block_device_mappings_additional_volume_size=${{ inputs.launch_block_device_mappings_additional_volume_size }} \ enable_fips=${{ inputs.fips }} \ arch=${{ inputs.arch }} \ working_dir="/home/ec2-user/worker" \ diff --git a/templates/al2/provisioners/celonis-extras.sh b/templates/al2/provisioners/celonis-extras.sh index b6b43fc4f..2b7e3e89e 100644 --- a/templates/al2/provisioners/celonis-extras.sh +++ b/templates/al2/provisioners/celonis-extras.sh @@ -19,6 +19,8 @@ EOF ################################################################################ ### Grow var volumes ############################################################### ################################################################################ + +sudo pvscan sudo pvresize /dev/sdf sudo lvextend -l +100%FREE /dev/vg-01/var_vol sudo xfs_growfs /var diff --git a/templates/al2/variables-default.json b/templates/al2/variables-default.json index a6b0ee515..c9d8acd1b 100644 --- a/templates/al2/variables-default.json +++ b/templates/al2/variables-default.json @@ -39,6 +39,6 @@ "subnet_id": "", "temporary_security_group_source_cidrs": "", "user_data_file": null, - "volume_type": "gp2", + "volume_type": "gp3", "working_dir": "{{user `remote_folder`}}/worker" }