Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add pattern to demonstrate how to cache large/ML container images to reduce time to start pods #2010

Merged
merged 15 commits into from
Oct 2, 2024

Conversation

bryantbiggs
Copy link
Contributor

Description

  • Add pattern to demonstrate how to cache large/ML container images to reduce time to start pods

Motivation and Context

  • Similar to the Bottlerocket blog and sample repository, this pattern demonstrates how users can create EBS volume snapshots that contain pre-pulled container images. This helps to reduce the amount of time and resources required to pull large container images, reducing the time it takes for pods to start on new nodes (where a cached image exists)

How was this change tested?

  • Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
  • Yes, I have updated the docs for this feature
  • Yes, I ran pre-commit run -a with this PR

Additional Notes

@bryantbiggs bryantbiggs requested a review from a team as a code owner September 17, 2024 22:50
@bryantbiggs bryantbiggs marked this pull request as draft October 2, 2024 01:42
@bryantbiggs
Copy link
Contributor Author

switching to draft - want to run through another round of testing

@bryantbiggs
Copy link
Contributor Author

ok all set
image

@bryantbiggs bryantbiggs marked this pull request as ready for review October 2, 2024 15:11
Copy link
Contributor

@askulkarni2 askulkarni2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great pattern!

@@ -0,0 +1,20 @@
module "ebs_snapshot_builder" {
source = "clowdhaus/ebs-snapshot-builder/aws"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we publish this under aws-ia?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if someone wants to embark on that saga of an adventure, sure 😅 - but I purposely put it here and not https://github.com/terraform-aws-modules because I suspect (hope) its usefulness declines to nil if better alternate means come to fruition

@bryantbiggs bryantbiggs merged commit db5c59c into main Oct 2, 2024
5 checks passed
@bryantbiggs bryantbiggs deleted the feat/container-image-cache branch October 2, 2024 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants