-
Notifications
You must be signed in to change notification settings - Fork 5
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
Resurrect snapshot container #403
Conversation
Forest: Snapshot Service Infrastructure Plan: successShow Plan
|
I'll be honest, the setup for snapshot service is looking pretty confusing, a mix of ruby, bash and bash embedded into ruby. Perhaps we should improve upon this code? My eyes bleed reading this, it's not comprehensive at all. And we are talking about a really small amount of code. If we want to keep using Ruby/Python or whatever else scripting language here - I think we should reconsider how This stuff is looking pretty unreadable:
I appreciate the All of that said, if it's too much effort to invest - it would at least be nice to have this code properly documented. |
@ruseinov The code to review is here 2f263d0. You don't have to review the The overall design of the service could definitely be improved, but it's not the point of this PR. The point is to improve upon its usage, e.g., via Terraform. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Let's add an issue to revisit the bash-awk-ruby
madness and make something readable of it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Summary of changes
Changes introduced in this pull request:
aws-cli
dependency anymore - it is replaced by the usage of https://gallery.ecr.aws/aws-cli/aws-cli (used the ECR flavour to bypass Dockerhub download limits)aws-cli
container which uses it to upload the snapshot.The peak disk usage will be 2x snapshot size for a brief moment (the period of snapshot export command), but apart from that, e.g., during the upload, it should be 1x snapshot size.
Reference issue to close (if applicable)
Closes
Other information and links