Replies: 3 comments 28 replies
-
No help and no feedback. Yet another one of those AWS things where the hype is published, but no one gives a sh*t. I wasted days on this thing, at the recommendation of an AWS employee, and got back zero feedback for trying to be a useful early customer. Cool. Never going to use this again. |
Beta Was this translation helpful? Give feedback.
-
Hi. I'm really sorry we didn't respond to this discussion earlier. It's not the way we want to run this project and we want to do better. Going forward we're planning on reviewing new discussions and issues regularly to make sure that nothing sits with no repsonse. Despite our mistakes, we do care about this project and the experience of the people using it. There are several pieces to answer your question.
EDIT: As of July 17 2023, both issues are merged. There is not yet a release that contains them, but the SOCI snapshotter will work with k8s if you build it from source.
The second is to get containerd to use the SOCI snapshotter and pass the right labels to enable lazy loading:
If you only want some of your pods to use SOCI, you can configure a runtime class instead. Please note that this requires containerd 1.7.0+:
Then you can update your podspec (copied from this documentation)
We have documentation about what each of those artifacts are here but the simplified version is:
|
Beta Was this translation helpful? Give feedback.
-
@Kern-- Thank you and the team for making this awesome project. I currently see these errors
Even though my AWS EC2 instance role is authorized to access ECR. |
Beta Was this translation helpful? Give feedback.
-
I've spent the weekend with SOCI. I feel like I'm super-close to getting this work, but I'm now stuck and uncertain as to what may be causing my issues.
If someone can please help me to get this working, you'd actually, literally, practically be changing the life (and the scaling constraints) of our Ops team. We're fighting with an image that's about 3 gigs in size...reducing startup time would be a huge win for our use-case. 🫠
Please excuse the verbosity of the my post, I just figured it's best to provide all the possible info that may be relevant.
Step 0 - Prep AL2 eks 1.26 image
amazon-eks-ami
GitHub repo (AL2)install-worker.sh
Add this block @ line https://github.com/awslabs/amazon-eks-ami/blob/8369d06e5ae2a9c4c8cb99531ce525a767080019/scripts/install-worker.sh#L144
i. ✅ check for
soci
andsoci-snapshotter
in shell/pathii. ✅ check that the systemd unit for
soci-snapshotter.service
is doing what it's supposed to doiii. ✅ check that fuse is doing what fuse is supposed to do
So far, so good!
Step 1 Generate SOCI index from existing ECR Image
I did all this from an EC2 that's identical to my EKS worker nodes (same OS, same IAM privileges and roles)
Check ECR Repo to see if any new artifacts landed there
The first Artifact that's got a tag --> Info looks like this:
The second Artifact that's untagged --> Info looks like this:
So far, I think it's okay!?
Step 2
AWSNodeTemplate
-->So, at this point, I deploy the container image I've just done all this work on, and cross my fingers in the hopes that I see the container pull and start faster...but no dice. Without SOCI = ~58 seconds to pull, with SOCI = ~58 seconds.
I referenced the image by its standard tag, of course, as mentioned in the README/documentation.
So, no improvements, OR it's not working as expected/I did something wrong.
Per the docs, I don't know how to tell if it's even working...but I did try this on the new worker node that's running the modified AL2 AMI, where the container image pulled and the pod started (at the same speed as before).
...and the pain begins!
Attempt 1 --> Use "Image tag" for "Artifact type --> Image Index" (from the screenshot)
Also tried:
Error:
Cool.
Attempt 2 --> Use "Digest" for "Artifact type --> Image Index" (from the screenshot)
Error:
Cool...
Attempt 3 --> Use "Digest" for "Artifact type --> Other" (from the screenshot)
Error:
And here, I'm stuck. I'm sure I'm doing something stupid/obvious, but I've been at this for hours, so I'm probably really myopic.
Any help our advice would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions