[deckhouse-cli] Platform-aware image pulls from RPP#390
Merged
Conversation
- Image downloads move to `/<image>/images/<version>`; `PullImage` sends `?platform=<os>-<arch>`, so the proxy picks the matching child manifest of a multi-platform index. The dash keeps the value a single unescaped URL token. - Releases ship as one multi-platform index per version tag, so `ListTags` and `ExtractBinary` work with plain version tags. - A proxy too old to honor the query serves its default platform (linux/amd64). Signed-off-by: Roman Berezkin <roman.berezkin@flant.com>
ldmonster
approved these changes
Jun 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
🧩 Stacked PR ·
d8self-update & plugins · 2 / 3 · Multiplatform supportMerge order:
feat/cli-and-plugins-autoupdatefeature branch instead ofmain)Proxy side: deckhouse/deckhouse#20795 · deckhouse/deckhouse#20800
Summary
d8 now pulls the binary for the current running machine architecture and os.
So multi-platform images handled correctly (d8 and plugins).
How it works
GET /v1/images/<image>/images/<version>?platform=<os>-<arch>. The value is the runningGOOS-GOARCHjoined with a dash, for examplelinux-amd64.Before / After
Before: a pull addressed the image by tag and got the registry's default platform.
The CLI did not resolve a multi-platform image per arch.
After: a pull names its platform and gets that build, or a 404 when the image has no such platform.
Notes