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/deployment/base
Markus Lehtonen 6ddd87e465 nfd-master: support NodeFeature objects
Add initial support for handling NodeFeature objects. With this patch
nfd-master watches NodeFeature objects in all namespaces and reacts to
changes in any of these. The node which a certain NodeFeature object
affects is determined by the "nfd.node.kubernetes.io/node-name"
annotation of the object. When a NodeFeature object targeting certain
node is changed, nfd-master needs to process all other objects targeting
the same node, too, because there may be dependencies between them.

Add a new command line flag for selecting between gRPC and NodeFeature
CRD API as the source of feature requests. Enabling NodeFeature API
disables the gRPC interface.

 -enable-nodefeature-api   enable NodeFeature CRD API for incoming
                           feature requests, will disable the gRPC
                           interface (defaults to false)

It is not possible to serve gRPC and watch NodeFeature objects at the
same time. This is deliberate to avoid labeling races e.g. by nfd-worker
sending gRPC requests but NodeFeature objects in the cluster
"overriding" those changes (labels from the gRPC requests will get
overridden when NodeFeature objects are processed).
2022-12-14 07:31:28 +02:00
..
master Add livenessProbe via grpc to nfd-master 2021-08-18 10:23:10 -05:00
master-worker-combined kustomize: fix broken master-worker-combined base 2021-08-19 23:22:28 +03:00
nfd-crds apis/nfd: update auto-generated code 2022-12-14 07:31:28 +02:00
noderesourcetopologies-crd NFD-Topology-Updater: Bump NRT API to version v0.0.12 2021-11-16 13:28:23 +00:00
rbac nfd-master: support NodeFeature objects 2022-12-14 07:31:28 +02:00
rbac-topologyupdater nfd-topology-updater: update NodeResourceTopology objects directly 2022-12-08 11:03:22 +02:00
topologyupdater-daemonset nfd-topology-updater: update NodeResourceTopology objects directly 2022-12-08 11:03:22 +02:00
worker-daemonset nfd-worker: support creating NodeFeatures object 2022-12-14 07:31:28 +02:00
worker-job nfd-worker: support creating NodeFeatures object 2022-12-14 07:31:28 +02:00