You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 12, 2021. It is now read-only.
As we were discussing the agent hook pr (kata-containers/agent#365 (comment)), we might want to support specifying all kata configs through labels or annotations, and then there is no dependency on a fixed cli configuration and each pod can be customized. The issue is created to track the feature/discussion.
A simple suggestion can be that we define a format like io.kata-containers.config.<subsystem>.<key>. Then we can have labels/annotations:
io.kata-containers.config.hypervisor.qemu.path: the qemu path in hypervisor.qemu section
io.kata-containers.config.shim.kata.enable_debug: the enable_debug option in shim.kata section
etc.
We can still have a default config in configuration.toml, and the per pod annotation configs takes a higher priority and override the values in configuration.toml.
The use case is to support very flexible controllers that can customize any config options we support on a per pod basis.