-
Notifications
You must be signed in to change notification settings - Fork 98
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
SCT container should not include kubectl, eksctl, help by default - to cut its size by half #8279
Comments
if we'll split to other containers that we build, they would be public as well. it's would need change in a lot of of k8s implemetions, and would be big testing effort to keep operator case working after such a change. |
@fruch while you're working on new AMI's for sct-runners, maybe would be worth to |
If we base the operator hydra on top of the regular one ('hydra-k8s') I doubt it's a big deal. And we can refresh them together, etc. |
We might consider it, it isn't gonna change anything drastically, since we are changing those every couple of k8s releases. |
do you have estimation on moving all this CLI usages to something like |
Removal of these binaries doesn't release
It will require creation of a new docker image. Or maybe even two - one for EKS based on the All of it in summary sounds for about 3 days if no blockers appear. |
isn't there existing official images of those ? (or semi official) that we can count on ?
|
I got completely different numbers. Unsure how. For 12 or 14%, it's not worth the effort. I don't know what is archived and what isn't - I downloaded each binary and placed them all in a single directory - unarchived (as they are in the container!) and compared their overall size with the overall container size - perhaps I missed something? |
Archived it is what we really pull from image registry.
Not having clear steps, hard to say what is different.
Then just rebuilt the docker image without it and provided numbers here. |
If that's the case, let's not bother. Closing. |
See
scylla-cluster-tests/docker/env/Dockerfile
Line 56 in b83b3ad
We are downloading this container gozillion of times (650K in the last 7 days I believe). Those 3 binaries take approx half of the size of the whole container.
Instead, the operator related tests should deploy them when needed, or have their own container based off the main one.
The container is also public and those binaries have known security vulnerabilities (we could and should update them, but it's a separate topic)
The text was updated successfully, but these errors were encountered: