1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
node-feature-discovery/pkg/apis/nfd/v1alpha1
Fabiano Fidêncio 250aea4741
Create extended resources with NodeFeatureRule
Add support for management of Extended Resources via the
NodeFeatureRule CRD API.

There are usage scenarios where users want to advertise features
as extended resources instead of labels (or annotations).

This patch enables the discovery of extended resources, via annotation
and patch of node.status.capacity and node.status.allocatable. By using
the NodeFeatureRule API.

Co-authored-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>
Co-authored-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2023-04-07 16:14:56 +02:00
..
annotations_labels.go Create extended resources with NodeFeatureRule 2023-04-07 16:14:56 +02:00
doc.go apis/nfd: migrate pkg/api/feature 2022-10-15 07:42:20 +03:00
expression.go apis/nfd: migrate pkg/api/feature 2022-10-15 07:42:20 +03:00
expression_test.go apis/nfd: migrate pkg/api/feature 2022-10-15 07:42:20 +03:00
feature.go nfd-master: handle multiple NodeFeature objects 2022-12-14 15:44:52 +02:00
generate.sh apis/nfd: migrate pkg/api/feature 2022-10-15 07:42:20 +03:00
generated.pb.go update re-generated code with make-generate results 2023-03-11 22:15:11 +02:00
generated.proto update re-generated code with make-generate results 2023-03-11 22:15:11 +02:00
register.go apis/nfd: add CRD for communicating node features 2022-12-14 07:31:28 +02:00
rule.go Create extended resources with NodeFeatureRule 2023-04-07 16:14:56 +02:00
rule_test.go apis/nfd: fix NodeFeatureRule templating 2022-10-25 23:37:27 +03:00
types.go Create extended resources with NodeFeatureRule 2023-04-07 16:14:56 +02:00
zz_generated.deepcopy.go Create extended resources with NodeFeatureRule 2023-04-07 16:14:56 +02:00