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

feat: always pull all platforms when possible to allow for exporting from containerd #115

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

carlmontanari
Copy link
Contributor

No description provided.

@carlmontanari carlmontanari marked this pull request as ready for review February 19, 2024 22:34
Comment on lines +40 to +51
func (m *containerdManager) pull(imageName string) error {
pullCmd := exec.Command(
"nerdctl",
"--address",
"/clabernetes/.node/containerd.sock",
"--namespace",
"k8s.io",
"image",
"pull",
"--all-platforms",
imageName,
)
Copy link
Member

Choose a reason for hiding this comment

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

here I see that there is a command content fetch for ctr, that might <?> be more optimal? Since it will just do less work compared to pull (my assumption)

@carlmontanari carlmontanari merged commit 3de0875 into main Feb 21, 2024
4 checks passed
@carlmontanari carlmontanari deleted the feat/image-pull-through-always-attempt-pull branch February 21, 2024 00:43
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.

None yet

2 participants