NodeFeatureGroup
nfd.k8s-sigs.io / v1alpha1
apiVersion: nfd.k8s-sigs.io/v1alpha1
kind: NodeFeatureGroup
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
spec object required
Spec defines the rules to be evaluated.
featureGroupRules []object required
List of rules to evaluate to determine nodes that belong in this group.
matchAny []object
MatchAny specifies a list of matchers one of which must match.
matchFeatures []object required
MatchFeatures specifies a set of matcher terms all of which must match.
feature
string required
Feature is the name of the feature set to match against.
matchExpressions
object
MatchExpressions is the set of per-element expressions evaluated. These
match against the value of the specified elements.
matchName object
MatchName in an expression that is matched against the name of each
element in the feature set.
op
string required
Op is the operator to be applied.
enum:
In, NotIn, InRegexp, Exists, DoesNotExist, Gt, Ge, Lt, Le, GtLt, GeLe, IsTrue, IsFalse
type
string
Type defines the value type for specific operators.
The currently supported type is 'version' for Gt,Ge,Lt,Le,GtLt,GeLe operators.
value
[]string
Value is the list of values that the operand evaluates the input
against. Value should be empty if the operator is Exists, DoesNotExist,
IsTrue or IsFalse. Value should contain exactly one element if the
operator is Gt or Lt and exactly two elements if the operator is GtLt.
In other cases Value should contain at least one element.
matchFeatures []object
MatchFeatures specifies a set of matcher terms all of which must match.
feature
string required
Feature is the name of the feature set to match against.
matchExpressions
object
MatchExpressions is the set of per-element expressions evaluated. These
match against the value of the specified elements.
matchName object
MatchName in an expression that is matched against the name of each
element in the feature set.
op
string required
Op is the operator to be applied.
enum:
In, NotIn, InRegexp, Exists, DoesNotExist, Gt, Ge, Lt, Le, GtLt, GeLe, IsTrue, IsFalse
type
string
Type defines the value type for specific operators.
The currently supported type is 'version' for Gt,Ge,Lt,Le,GtLt,GeLe operators.
value
[]string
Value is the list of values that the operand evaluates the input
against. Value should be empty if the operator is Exists, DoesNotExist,
IsTrue or IsFalse. Value should contain exactly one element if the
operator is Gt or Lt and exactly two elements if the operator is GtLt.
In other cases Value should contain at least one element.
name
string required
Name of the rule.
vars
object
Vars is the variables to store if the rule matches. Variables can be
referenced from other rules enabling more complex rule hierarchies.
varsTemplate
string
VarsTemplate specifies a template to expand for dynamically generating
multiple variables. Data (after template expansion) must be keys with an
optional value (<key>[=<value>]) separated by newlines.
status object
Status of the NodeFeatureGroup after the most recent evaluation of the
specification.
nodes []object
Nodes is a list of FeatureGroupNode in the cluster that match the featureGroupRules
name
string required
Name of the node.
No matches. Try .spec.featureGroupRules for an exact path