mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 19:35:32 +00:00
Our code for handling images being pulled inside the guest relies on a containerType ("sandbox" or "container") being set as part of the container annotations, which is done by the CRI Engine being used, and depending on the used CRI Engine we check for a specfic annotation related to the image-name, which is then passed to the agent. However, when running kata-containers without kubernetes, specifically when using `nerdctl`, none of those annotations are set at all. One thing that we can do to allow folks to use `nerdctl`, however, is to take advantage of the `--label` flag, and document on our side that users must pass `io.kubernetes.cri.image-name=$image_name` as part of the label. By doing this, and changing our "fallback" so we can always look for such annotation, we ensure that nerdctl will work when using the nydus snapshotter, with kata-containers, to perform image pulling inside the pod sandbox / guest. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com> |
||
---|---|---|
.. | ||
arch-images | ||
architecture | ||
architecture_3.0 | ||
data | ||
proposals | ||
agent-systemd-cgroup.md | ||
core-scheduling.md | ||
direct-blk-device-assignment.md | ||
end-to-end-flow.md | ||
hooks-handling.md | ||
host-cgroups.md | ||
inotify.md | ||
kata-2-0-metrics.md | ||
kata-api-design.md | ||
kata-design-requirements.md | ||
kata-guest-image-management-design.md | ||
kata-metrics-in-runtime-rs.md | ||
kata-nydus-design.md | ||
kata-vra.md | ||
README.md | ||
vcpu-handling-runtime-go.md | ||
vcpu-handling-runtime-rs.md | ||
vcpu-threads-pinning.md | ||
virtualization.md | ||
VSocks.md |
Design
Kata Containers design documents:
- Kata Containers architecture
- API Design of Kata Containers
- Design requirements for Kata Containers
- VSocks
- VCPU handling(in runtime-go)
- VCPU handling(in runtime-rs)
- VCPU threads pinning
- Host cgroups
- Agent systemd cgroup
Inotify
supportHooks
support- Metrics(Kata 2.0)
- Metrics in Rust Runtime(runtime-rs)
- Design for Kata Containers
Lazyload
ability withnydus
- Design for direct-assigned volume
- Design for core-scheduling
- Virtualization Reference Architecture