amazon-eks-ami icon indicating copy to clipboard operation
amazon-eks-ami copied to clipboard

Increase snapshot creation polling timeout

Open YngveMolnes opened this issue 7 months ago • 0 comments

Issue #, if available:

Description of changes: Increase the snapshot creation polling timeout. When we build our AMIs we need to cache a lot of container images on the AMIs. This, in turn, creates large snapshots. For this to be cheap and pragmatic we just use the defaults in the project and make a rather big volume for the images, without optimizing any IO-config. So - for us it might take up to 4 hours to wait for the snapshot creation. Either way; in order for the ami to get tagged properly and for the job to clean up - I had to increase this timeout.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Testing Done Building an image with the params;

launch_block_device_mappings_volume_size=300 aws_region=eu-north-1 ssm_agent_version=3.3.380.0 make k8s=1.29 cache_container_images=true os_distro=al2 subnet_id=<my_private_subnet>

See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.

YngveMolnes avatar Jul 04 '24 09:07 YngveMolnes