1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
Commit graph

143 commits

Author SHA1 Message Date
Markus Lehtonen
cc22be8ef1 Update references to release v0.11.1
Generated with:

    scripts/prepare-release.sh v0.11.1 markus.lehtonen@intel.com
2022-06-07 17:50:22 +03:00
Markus Lehtonen
a22eea431f Update references to release v0.11.0
Generated with:

  scripts/prepare-release.sh v0.11.0 markus.lehtonen@intel.com
2022-03-28 16:00:40 +03:00
Markus Lehtonen
3a17056217 README: point to v0.10.1 2022-01-24 16:47:11 +02:00
Markus Lehtonen
1d817babac README: bump to v0.10.0 2022-01-11 21:26:25 +02:00
Markus Lehtonen
45a5b83a5e README: update deployment instructions to use v0.9.0 2021-08-20 09:05:40 +03:00
Markus Lehtonen
d43bcb9033 README: update references to v0.8.2 2021-05-18 23:50:58 +03:00
Markus Lehtonen
7421a86575 README: update references to version 0.8.1 2021-04-06 18:20:30 +03:00
Markus Lehtonen
e7601e1403 README: update references to version 0.8.0 2021-03-18 15:58:43 +02:00
Markus Lehtonen
5912177a03 README: update references to v0.7.0 2020-12-08 10:25:35 +02:00
Mikko Ylinen
1ca8b6c34d README: fix link to Github pages
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-10-30 13:37:50 +02:00
Markus Lehtonen
a9d45c80ac README: move content over to docs/
Move all content from README.md to the Jekyll site under docs/. Also
re-organize it into multiple sub-pages.

Populate README with fresh content turning it into virtually a big link
to the html-based documentation site. Spiced up with super-quick-start
instructions.
2020-10-29 14:07:08 +02:00
Mikko Ylinen
e2ee7c6fca source/custom: add rules for cpuid and kconfig
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-09-14 12:07:35 +03:00
Markus Lehtonen
006234b69d Drop TravisCI integration
All CI has been migrated over to Kubernetes test-infra.
2020-09-11 08:19:36 +03:00
Markus Lehtonen
49d66aa941 README: drop References and unused links
The references listed have lost relevance in this context.
2020-09-10 09:09:19 +03:00
Markus Lehtonen
890380892d Fix up Makefile variable initialization and documentation
An attempt to organize the Makefile variables a bit further. The idea is
to only document variables that are really intended for build
customization and initialize all these variables in the Makefile with
'=?' so that they can be specified in the environment (and not just with
variable overrides). Thus, this patch drops some variables from the
README and change the initialization of some variables in the Makefile
so that the two files would be in sync.
2020-09-08 16:24:39 +03:00
Kubernetes Prow Robot
535dd0bb3a
Merge pull request #351 from ArangoGutierrez/image_make
Fix Makefile to take vaules from ENV VAR values
2020-09-08 05:59:43 -07:00
Carlos Eduardo Arango Gutierrez
4bcb0cf851
Fix Makefile to take vaules from ENV VAR values
make image and make push fails when trying to use an ENV VAR value, as
it is now they can only be overrided.

the Var modified are
GO_CMD
GO_FMT
IMAGE_BUILD_EXTRA_OPTS
IMAGE_BUILD_CMD
IMAGE_PUSH_CMD
IMAGE_TAG_NAME
IMAGE_REGISTRY
IMAGE_NAME
IMAGE_EXTRA_TAG_NAMES
K8S_NAMESPACE
HOSTMOUNT_PREFIX

This new behaviour has also been updated on the README.

Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
2020-09-08 07:49:43 -05:00
Markus Lehtonen
fff8c811f1 README: add Community section 2020-09-08 13:28:43 +03:00
Kubernetes Prow Robot
9df73b8ace
Merge pull request #326 from marquiz/devel/prune
nfd-master: implement --prune flag
2020-09-07 04:51:42 -07:00
Markus Lehtonen
36aa100c8f README: add --prune and --kubeconfig flags
The bare minimum doc update.
2020-09-07 09:01:30 +03:00
Carlos Eduardo Arango Gutierrez
59f64eba18
prow badge
Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
2020-09-06 16:48:58 -05:00
Markus Lehtonen
4e5df73747 Makefile: add IMAGE_EXTRA_TAG_NAMES variable
Make it possible to create and push multiple container image tags with
single invocation of make.
2020-09-03 16:01:36 +03:00
Markus Lehtonen
906b1a075f README: document new hostmount prefix Makefile variables 2020-08-21 14:32:50 +03:00
Markus Lehtonen
6ef6cdec65 README: change image registry to k8s.gcr.io 2020-08-07 10:33:14 +03:00
Markus Lehtonen
5e62ced4d8 Use release v0.6.0 in deployment templates and README 2020-05-26 15:08:31 +03:00
Markus Lehtonen
32290ea8f8 README: document E2E_TEST_CONFIG Makefile variable 2020-05-25 10:38:54 +03:00
Paul Mundt
4d5b5974df cpu: Add support for ARM/Aarch32 cpuid
This provides support for 32-bit ARM cpuid capabilities based on
the HWCAP flags, and enables the build of NFD on the 32-bit ARM
userland - notably, this also applies to ARM64 systems that are
running userspace in Aarch32 mode, which is where this problem
was first encountered.

Signed-off-by: Paul Mundt <paul.mundt@adaptant.io>
2020-05-21 19:42:44 +02:00
Markus Lehtonen
2620e650bf README: document nfd-worker run-time re-configurability 2020-05-21 00:59:39 +03:00
Markus Lehtonen
c24885840c Better document the --label-whitelist flag 2020-05-20 23:19:09 +03:00
Kubernetes Prow Robot
b2d44d0f2a
Merge pull request #316 from marquiz/devel/docs-annotations
README: document node annotations
2020-05-20 08:36:19 -07:00
Paul Mundt
c0ea69411b usb: Add support for USB device discovery
This builds on the PCI support to enable the discovery of USB devices.

This is primarily intended to be used for the discovery of Edge-based
heterogeneous accelerators that are connected via USB, such as the Coral
USB Accelerator and the Intel NCS2 - our main motivation for adding this
capability to NFD, and as part of our work in the SODALITE H2020
project.

USB devices may define their base class at either the device or
interface levels. In the case where no device class is set, the
per-device interfaces are enumerated instead. USB devices may
furthermore have multiple interfaces, which may or may not use the
identical class across each interface. We therefore report device
existence for each unique class definition to enable more fine-grained
labelling and node selection.

The default labelling format includes the class, vendor and device
(product) IDs, as follows:

	feature.node.kubernetes.io/usb-fe_1a6e_089a.present=true

As with PCI, a subset of device classes are whitelisted for matching.
By default, there are only a subset of device classes under which
accelerators tend to be mapped, which is used as the basis for
the whitelist. These are:

	- Video
	- Miscellaneous
	- Application Specific
	- Vendor Specific

For those interested in matching other classes, this may be extended
by using the UsbId rule provided through the custom source. A full
list of class codes is provided by the USB-IF at:

	https://www.usb.org/defined-class-codes

For the moment, owing to a lack of a demonstrable use case, neither
the subclass nor the protocol information are exposed. If this
becomes necessary, support for these attributes can be trivially
added.

Signed-off-by: Paul Mundt <paul.mundt@adaptant.io>
2020-05-20 16:18:39 +02:00
Markus Lehtonen
e8a15b59ab README: document node annotations
Shortly describe node annotations created/managed bu NFD.
2020-05-19 19:50:42 +03:00
Kubernetes Prow Robot
7c4ff52a3c
Merge pull request #290 from adrianchiris/custom_features
Support custom features
2020-03-24 08:26:48 -07:00
Adrian Chiris
297f8134de Clarify Custom Features section in README
- Add Nomenclature
- Rewording to match the defined nomenclature
- Reorganize Custom Feature section for clarity
2020-03-22 14:46:16 +02:00
Kubernetes Prow Robot
014e4c84b8
Merge pull request #291 from uniemimu/master
master: add extended resource support
2020-03-20 05:58:37 -07:00
Ukri Niemimuukko
903a939836 nfd-master: add extended resource support
This adds support for making selected labels extended resources.

Labels which have integer values, can be promoted to Kubernetes extended
resources by listing them to the added command line flag
`--resource-labels`. These labels won't then show in the node label
section, they will appear only as extended resources.

Signed-off-by: Ukri Niemimuukko <ukri.niemimuukko@intel.com>
2020-03-19 13:19:22 +02:00
Adrian Chiris
f5307ddf7a Documentation updates
- Update README.md with `custom` source
- Update nfd-worker configuration example
2020-03-19 11:10:13 +02:00
Renaud Gaubert
db994410a7 Change nfd-master deployment mechanism from daemonset to deployment
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
2020-03-06 15:35:02 -08:00
Kubernetes Prow Robot
208e1bc99e
Merge pull request #288 from mythi/sriov
pci: add sriov.capable attribute
2020-02-19 00:50:24 -08:00
Mikko Ylinen
24c3a98303 pci: add sriov.capable attribute
SR-IOV is a PCI attribute and also non-NIC PCI devices can have it. Therefore,
it is useful to label all PCI devices with that capability.

After this commit the following labels for Intel NICs are overlapping:
feature.node.kubernetes.io/pci-0200_8086.sriov.capable=true
feature.node.kubernetes.io/network-sriov.capable=true

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-02-18 20:09:32 +02:00
Markus Lehtonen
b7cc69fc80 README: better document the usage of hooks and feature files
Mention supported runtimes that the hooks can use and describe how hooks
and feature files can be used for injecting labels from other pods.
2020-02-14 14:05:17 +02:00
Markus Lehtonen
66bf544ac5 README: note on avoiding a race condition with hooks 2020-02-11 14:31:10 +02:00
Markus Lehtonen
789a0073a6 Refer to v0.5.0 release in README and the deployment templates 2019-11-22 11:18:34 +02:00
Markus Lehtonen
882bbeea3f source/cpu: support 'false' status of cpu-pstate.turbo
Some workloads may benefit from Intel Turbo Boost technology being
disabled. This patch sets the
'feature.node.kubernetes.io/cpu-pstate.turbo' label to 'false' if we can
detect that it has been disabled. If detection fails no label is
published.
2019-08-29 16:18:12 +03:00
Victor Morales
b45d0052e9 Fix typo in README.md 2019-08-22 00:18:04 -07:00
Markus Lehtonen
f3c74b6534 README: add separate section about testing 2019-06-27 21:27:48 +03:00
Markus Lehtonen
b5d71f421d Makefile: add 'e2e-test' target
For running end-to-end tests it is required to explicitly specify in the
command line the kubeconfig to be used, e.g.:
$ make e2e-test KUBECONFIG=$HOME/.kube/config
2019-06-27 06:29:45 +03:00
Markus Lehtonen
2cfb3ade5d Makefile: add IMAGE_BUILD_EXTRA_OPTS variable 2019-06-18 16:23:25 +03:00
Markus Lehtonen
a8e7259bf8 Makefile: add 'push' target
Now 'make push' can be used to push the container image to the remote
registry.
2019-06-18 16:23:25 +03:00
Markus Lehtonen
012f7e4946 source/memory: detect NVDIMM DAX mode
Extend NVDIMM (non-volatile DIMM) discovery by adding detection of DAX
mode, i.e. detection of regions in DAX/AppDirect mode.
The new label is:
    feature.node.kubernetes.io/memory-nv.dax: true
2019-06-11 09:58:30 +03:00