meta-virtualization/classes
Bruce Ashfield 534e8b6ed7 conf: introduce container configuration values
From the configuration file itself:

 These variables represent groupings of functionality in the CNCF
 landscape. In particular, they are areas where there is a choice
 between more than one implementation or an area where abstraction
 is beneficial.

 The contents of the variables are are runtime components that
 recipes may use for RDEPENDS.

 Build dependencies are not typically flexible, so do not currently
 have DEPENDS equivalents for the components (i.e. DEPENDS on runc
 versus crun).

 Distro features such as kubernetes or other container stacks
 can be used to set different defaults for these variables.

 Note: these are "global" values, since they represent choices.
 If more than of a grouping is required on target, then the variable
 can be appended or set to multiple values. That being said, Recipes
 should generally agree on the values, hence the global namespace.
 Recipe specific choices  can still be done, but they risk
 conflicting on target or causing runtime issues / errors.

 ## CNCF "components"

 # engines: docker-ce/docker-moby, virtual-containerd, cri-o, podman
 VIRTUAL-RUNTIME_container_engine ??= "podman"
 # 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 ??= "k3s"

 ## Kubernetes terminology "components"

 VIRTUAL-RUNTIME_cri ??= "containerd"
 VIRTUAL-RUNTIME_cni ??= "cni"

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-03-08 17:08:02 -05:00
..
cni_networking.bbclass global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
container-host.bbclass containers: introduce container-host class 2023-02-17 15:21:53 -05:00
image-oci-sloci-image.inc oci-image: create two different tar outputs 2023-02-10 12:36:11 -05:00
image-oci-umoci.inc oci-image: create two different tar outputs 2023-02-10 12:36:11 -05:00
image-oci.bbclass image-oci-umoci: add parameter for stop signal 2022-07-15 17:14:57 -04:00
meta-virt-cfg.bbclass conf: defer DISTRO_FEATURE check to bbclass processing 2020-02-10 10:28:38 -05:00
meta-virt-container-cfg.bbclass conf: introduce container configuration values 2023-03-08 17:08:02 -05:00
meta-virt-hosts.bbclass config: introduce hostname generation hooks 2021-12-13 15:59:35 -05:00
meta-virt-k8s-cfg.bbclass conf: defer DISTRO_FEATURE check to bbclass processing 2020-02-10 10:28:38 -05:00
meta-virt-xen-cfg.bbclass xen: apply layer settings when xen DISTRO_FEATURE is enabled 2020-07-06 16:25:55 -04:00
qemuboot-testimage-network.bbclass xen images, qemuboot: configure xenbr0 bridge for runqemu, testimage 2022-05-09 08:08:31 -04:00
qemuboot-xen-defaults.bbclass xen: Disable highmem on qemuarm 2022-06-20 12:08:37 -04:00
qemuboot-xen-dtb.bbclass Revert "xen: Disable PCI on qemuarm with Xen" 2022-06-20 12:07:45 -04:00
sanity-meta-virt.bbclass sanity-meta-virt: Watch for SanityCheck event 2017-10-12 21:59:51 -04:00