tosca.datatypes.asd.enhancedClusterCapabilities:
version: 0.1
derived_from: tosca.datatypes.Root
description: "Describes the datatype for parameter mapping"
properties:
minKernelVersion:
description: >
Describes the minimal required Kernel version, e.g. 4.15.0.
Coded as displayed by linux command uname –r
required: true
type: string
requiredKernelModules:
description: >
Required kernel modules are coded as listed by linux lsmod command,
e.g. ip6_tables, cryptd, nf_nat etc.
required: false
type: list
entry_schema:
type: string
conflictingKernelModules:
description: >
Kernel modules, which must not be present in the target environment.
The kernel modules are coded as listed by linux lsmod command,
e.g., ip6_tables, cryptd, nf_nat etc.
Example: Linux kernel SCTP module, which would conflict with use of
proprietary user space SCTP stack provided by the application.
required: false
type: list
entry_schema:
type: string
requiredCustomResources:
description: >
List the custom resource kinds required to be supported in the target
environment. The list shall include those custom resource kinds which
are not delivered with the application.
required: false
type: list
entry_schema:
type: tosca.datatypes.asd.customResourceRequirement
clusterLabels:
description: >
This attribute allows to associate arbitrary labels to clusters.
These can indicate special infrastructure capabilities (e.g., NW acceleration,
GPU compute, etc.). The intent of these labels is to serve as a set of
values that can help in application placement decisions.
clusterLabels follow the Kubernetes label key-value-nomenclature
(https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/).
It is recommended that labels follow a standardized meaning e.g. for node
features (https://kubernetes-sigs.github.io/node-feature-discovery/v0.9/get-started/features.html#table-of-contents).
Example:
ClusterLabels
- feature.node.kubernetes.io/cpu-cpuid.AESNI: true
required: false
type: list
entry_schema:
type: string
requiredPlugin:
description: a list of the name of the required K8s plugin
required: false
type: list
entry_schema:
type: string tosca.datatypes.asd.requiredPlugin |