Repository navigation
Expose CRI image config - #13709
Closed
phillebaba wants to merge 1 commit into
Closed
Expose CRI image config#13709phillebaba wants to merge 1 commit into
phillebaba wants to merge 1 commit into
Conversation
phillebaba
force-pushed
the
feature/cri-image-config
branch
from
July 2, 2026 08:24
ee96f57 to
1f4cd55
Compare
phillebaba
force-pushed
the
feature/cri-image-config
branch
from
July 2, 2026 08:26
1f4cd55 to
3e2abe4
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Re-introduces exposure of the CRI image configuration via the CRI Runtime Status verbose Info map, to make it possible to verify which registry/mirroring config was actually loaded at runtime (fixing #10780).
Changes:
- Marshal
c.ImageService.Config()into JSON and return it asresp.Info["imageconfig"]whenStatusRequest.Verboseis true.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
phillebaba
force-pushed
the
feature/cri-image-config
branch
from
July 2, 2026 09:29
88fe1a4 to
22d7501
Compare
phillebaba
force-pushed
the
feature/cri-image-config
branch
from
July 2, 2026 09:30
22d7501 to
a8a8969
Compare
phillebaba
force-pushed
the
feature/cri-image-config
branch
from
July 2, 2026 16:25
a8a8969 to
05ae716
Compare
phillebaba
force-pushed
the
feature/cri-image-config
branch
from
July 23, 2026 12:45
05ae716 to
b3af0f3
Compare
Signed-off-by: Philip Laine <[email protected]>
phillebaba
force-pushed
the
feature/cri-image-config
branch
from
July 23, 2026 13:01
b3af0f3 to
2f6a64b
Compare
Contributor
Author
|
Closing in favor of #13940 after discussing alternative implementations during the last community meeting. |
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.
Back in Containerd 1.7 the mirror configuration was included as part of the verbose config from the CRI info endpoint. This was later removed in 2.0 due to the re-architecture of the plugin system which made it impossible to get hold of the loaded configuration. It seems like we are able to access this configuration again from the CRI service making it possible to expose once again. This change adds this configuration back to the output.
The reason this is useful, is because it is otherwise very difficult to determine what configuration has actually been loaded at runtime. Due to different schema versions and import paths actually ensuring that mirroring is enabled can be very challenging.
Fixes #10780