Conversation
Co-authored-by: Iceber <13391143+Iceber@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add documentation for runtime interface implementation
Document Mar 13, 2026
pkg/runtime interface implementation details and field mappings
Owner
|
@copilot 我准备增加基于cri-o的具体实现,请帮我先基于crio完善文档,梳理字段的解析路径 |
Co-authored-by: Iceber <13391143+Iceber@users.noreply.github.com>
Co-authored-by: Iceber <13391143+Iceber@users.noreply.github.com>
Co-authored-by: Iceber <13391143+Iceber@users.noreply.github.com>
Author
已补充 |
Copilot
AI
changed the title
Document
Document Mar 13, 2026
pkg/runtime interface implementation details and field mappingspkg/runtime interface implementation details and planned CRI-O field mappings
Owner
|
@copilot 重新整理crio的部分,其中可以扩展只与crio有关的字段,并忽视对应的containerd字段,例如snapshot和content概念和shim概念,而且使用自己的containers image 和 storage ,conmon |
Co-authored-by: Iceber <13391143+Iceber@users.noreply.github.com>
Author
已按 |
Copilot
AI
changed the title
Document
Document Mar 14, 2026
pkg/runtime interface implementation details and planned CRI-O field mappingspkg/runtime interface implementation details and planned CRI-O-native field mappings
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.
pkg/runtimelacked a clear explanation of how the concrete runtime implements theruntime.Runtimeinterface, especially where each returned field comes from and how fallback/merge logic works. This PR adds a runtime-focused reference document that explains the current containerd implementation and also outlines a planned CRI-O field parsing path for future runtime work.New runtime implementation reference
docs/runtime-spec/runtime-interface-implementation.mdcontainerd.ContainerdRuntimeas the concreteruntime.RuntimeimplementationPer-method implementation mapping
runtime.Runtimemethods, including:Connect/ClosePer-field source tracing
Planned CRI-O implementation guidance
CRI-Oruntime implementationCRI-Osection to be organized aroundCRI-O's own concepts instead of containerd-specific terminologyCRI-O, including:crio.conf/storage.confgo.podman.io/image/v5(formerlycontainers/image)go.podman.io/storage(formerlycontainers/storage)conmonCRI-OdesignCRI-O-specific model extensions are preferable to compatibility mapping through containerd-shaped fieldsExtension-friendly structure
pkg/runtime/crioDiscoverability
Example interface excerpt referenced by the new document:
Original prompt
💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.