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:
Bruce Ashfield 2024-10-22 13:40:59 +00:00
parent b164962a6e
commit 3429c73a91
6 changed files with 79 additions and 0 deletions

View 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"

View 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"

View 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"

View 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"

View File

@ -0,0 +1,4 @@
require meta-virt-container-k3s-host.inc
VIRTUAL-RUNTIME_container_orchestration = "k3s-node"

View 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"