mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-03-18 10:44:10 +00:00
* Introduces the `emptydir_mode` config flag to allow instructing the runtime to create a block device for emptyDir volumes. * The block device is created in the original emptyDir folder on the host so that Kubelet can monitors its disk usage and evict the pod if it exceeds its sizeLimit. This matches runc and virtio-fs. * The block device's disk image file is sparse to minimize host disk footprint. Fixes: #10560 Signed-off-by: Aurélien Bombo <abombo@microsoft.com>
The src/libs directory hosts library crates which may be shared by multiple Kata Containers components
or published to crates.io.
Library Crates
Currently it provides following library crates:
| Library | Description |
|---|---|
| logging | Facilities to setup logging subsystem based on slog. |
| system utilities | Collection of facilities and helpers to access system services. |
| types | Collection of constants and data types shared by multiple Kata Containers components. |
| safe-path | Utilities to safely resolve filesystem paths. |
| test utilities | Utilities to share test code. |