Default kata runtime
In my environment, I used kata with containerd. I configured plugins for kata in /etc/containerd/config.toml with two kata runtimes -- kata and kata-qemu. If there is no plugins configuration in config.toml file, is there a default runtime name that I can use? I am invoking the kata runtime name trough the CRI API (RuntimeHandler).
[plugins.cri.containerd.runtimes.*kata*] runtime_type = "io.containerd.kata.v2" [plugins.cri.containerd.runtimes.kata.options] ConfigPath = "/etc/kata-containers/configuration.toml" [plugins.cri.containerd.runtimes.*kata-qemu*] runtime_type = "io.containerd.kata-qemu.v2" [plugins.cri.containerd.runtimes.kata-qemu.options] ConfigPath = "/opt/kata/share/defaults/kata-containers/configuration-qemu.toml"
$ kata-runtime version kata-runtime : 1.9.1 commit : b909cab6c40eacaca15038ab3f2706a634a50501 OCI specs: 1.0.1-dev
$ containerd --version containerd containerd.io 1.2.6 894b81a4b802e4eb2a91d1ce216b8817763c29fb
Thanks, Al
participants (1)
-
Al Lau