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

Verify discard unpacked layers setting #237

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

phillebaba
Copy link
Member

It became clear in #217 that Spegel works very poorly if Containerd discard unpacked layers is enabled. When it is enabled any layer that is not required to run the container will be discarded. It defeats the purpose of Spegel which needs these layers present to distribute.

By default this is disabled. However it was recently enabled in EKS by default causing issues for some users.
awslabs/amazon-eks-ami#1360

This change implements a check for this setting and exits if it is enabled. This will hopefully inform users in the future if the setting has been enabled.

@phillebaba phillebaba force-pushed the verify-discard-unpacked-layers branch from e7c1f24 to 53769e8 Compare October 18, 2023 10:08
@phillebaba phillebaba merged commit 71afee7 into main Oct 18, 2023
6 checks passed
@phillebaba phillebaba deleted the verify-discard-unpacked-layers branch October 18, 2023 10:16
t1mt pushed a commit to t1mt/spegel that referenced this pull request Sep 3, 2024
…d-layers

Verify discard unpacked layers setting
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.

1 participant