mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-04 21:05:25 +02:00
conf: add container profile definitions
These definitions are selected by setting: CONTAINER_PROFILE Once selected the VIRTUAL_RUNTIME and other considerations for the profile are configured and used by the images in meta-virt. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
b164962a6e
commit
3429c73a91
17
conf/distro/include/meta-virt-container-containerd.inc
Normal file
17
conf/distro/include/meta-virt-container-containerd.inc
Normal file
|
@ -0,0 +1,17 @@
|
|||
include meta-virt-container.inc
|
||||
|
||||
## CNCF "components"
|
||||
|
||||
# engines: docker/docker-moby, virtual-containerd, cri-o, podman, lxc
|
||||
VIRTUAL-RUNTIME_container_engine ??= "containerd"
|
||||
# runtime: runc, crun, runv, runx
|
||||
VIRTUAL-RUNTIME_container_runtime ??= "crun"
|
||||
# networking: cni, netavark
|
||||
VIRTUAL-RUNTIME_container_networking ??= ""
|
||||
# dns: cni, aardvark-dns
|
||||
VIRTUAL-RUNTIME_container_dns ??= ""
|
||||
# orchestration: k8s, k3s
|
||||
VIRTUAL-RUNTIME_container_orchestration ??= ""
|
||||
|
||||
VIRTUAL-RUNTIME_cri ??= "virtual-containerd"
|
||||
VIRTUAL-RUNTIME_cni ??= "cni"
|
19
conf/distro/include/meta-virt-container-default.inc
Normal file
19
conf/distro/include/meta-virt-container-default.inc
Normal file
|
@ -0,0 +1,19 @@
|
|||
include meta-virt-container.inc
|
||||
|
||||
## CNCF "components"
|
||||
|
||||
# engines: docker/docker-moby, virtual-containerd, cri-o, podman, lxc
|
||||
VIRTUAL-RUNTIME_container_engine ??= "docker"
|
||||
# runtime: runc, crun, runv, runx
|
||||
VIRTUAL-RUNTIME_container_runtime ??= "virtual-runc"
|
||||
# networking: cni, netavark
|
||||
VIRTUAL-RUNTIME_container_networking ??= "cni"
|
||||
# dns: cni, aardvark-dns
|
||||
VIRTUAL-RUNTIME_container_dns ??= "cni"
|
||||
# orchestration: k8s, k3s
|
||||
VIRTUAL-RUNTIME_container_orchestration ??= ""
|
||||
|
||||
## Kubernetes terminology "components"
|
||||
|
||||
VIRTUAL-RUNTIME_cri ??= "virtual-containerd"
|
||||
VIRTUAL-RUNTIME_cni ??= "cni"
|
17
conf/distro/include/meta-virt-container-docker.inc
Normal file
17
conf/distro/include/meta-virt-container-docker.inc
Normal file
|
@ -0,0 +1,17 @@
|
|||
include meta-virt-container.inc
|
||||
|
||||
## CNCF "components"
|
||||
|
||||
# engines: docker/docker-moby, virtual-containerd, cri-o, podman, lxc
|
||||
VIRTUAL-RUNTIME_container_engine ??= "docker-moby"
|
||||
# runtime: runc, crun, runv, runx
|
||||
VIRTUAL-RUNTIME_container_runtime ??= "virtual-runc"
|
||||
# networking: cni, netavark
|
||||
VIRTUAL-RUNTIME_container_networking ??= ""
|
||||
# dns: cni, aardvark-dns
|
||||
VIRTUAL-RUNTIME_container_dns ??= ""
|
||||
# orchestration: k8s, k3s
|
||||
VIRTUAL-RUNTIME_container_orchestration ??= ""
|
||||
|
||||
VIRTUAL-RUNTIME_cri ??= "virtual-containerd"
|
||||
VIRTUAL-RUNTIME_cni ??= "cni"
|
11
conf/distro/include/meta-virt-container-k3s-host.inc
Normal file
11
conf/distro/include/meta-virt-container-k3s-host.inc
Normal file
|
@ -0,0 +1,11 @@
|
|||
include meta-virt-container.inc
|
||||
|
||||
VIRTUAL-RUNTIME_container_engine ?= ""
|
||||
VIRTUAL-RUNTIME_container_runtime ?= ""
|
||||
VIRTUAL-RUNTIME_container_networking ?= ""
|
||||
VIRTUAL-RUNTIME_container_dns ?= ""
|
||||
VIRTUAL-RUNTIME_container_orchestration ?= "k3s-host"
|
||||
|
||||
## Kubernetes terminology "components"
|
||||
VIRTUAL-RUNTIME_cri ?= "virtual-containerd"
|
||||
VIRTUAL-RUNTIME_cni ?= "cni"
|
4
conf/distro/include/meta-virt-container-k3s-node.inc
Normal file
4
conf/distro/include/meta-virt-container-k3s-node.inc
Normal file
|
@ -0,0 +1,4 @@
|
|||
require meta-virt-container-k3s-host.inc
|
||||
|
||||
VIRTUAL-RUNTIME_container_orchestration = "k3s-node"
|
||||
|
11
conf/distro/include/meta-virt-container-podman.inc
Normal file
11
conf/distro/include/meta-virt-container-podman.inc
Normal file
|
@ -0,0 +1,11 @@
|
|||
include meta-virt-container.inc
|
||||
|
||||
VIRTUAL-RUNTIME_container_engine ?= "podman"
|
||||
VIRTUAL-RUNTIME_container_runtime ?= "crun"
|
||||
VIRTUAL-RUNTIME_container_networking ?= "netavark"
|
||||
VIRTUAL-RUNTIME_container_dns ?= "aardvark-dns"
|
||||
VIRTUAL-RUNTIME_container_orchestration ?= ""
|
||||
|
||||
## Kubernetes terminology "components"
|
||||
VIRTUAL-RUNTIME_cri ?= "virtual-containerd"
|
||||
VIRTUAL-RUNTIME_cni ?= "cni"
|
Loading…
Reference in New Issue
Block a user