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

Use a containerd plugin for side-loading images #502

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

neoaggelos
Copy link
Contributor

Summary

Add a containerd plugin that sideloads images when containerd starts (and, optionally, at a refresh interval)

The plugin can be configured by a section like this in the config.toml file of containerd (or in a separate file):

[plugins."io.containerd.service.v1.sideload-images"]
  disabled = true 
  sources = ["path1", "path2"]
  namespace = "k8s.io"

The default behaviour is to attempt to sideload any tar files found in /var/snap/k8s/common/images when containerd starts.

Changes

@neoaggelos neoaggelos requested a review from a team as a code owner June 17, 2024 07:49
Copy link
Contributor

@bschimke95 bschimke95 left a comment

Choose a reason for hiding this comment

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

LGTM

@neoaggelos neoaggelos merged commit be814f6 into main Jun 17, 2024
17 checks passed
@neoaggelos neoaggelos deleted the KU-1014/sideload-images branch June 17, 2024 16:17
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