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

2300 commits

Author SHA1 Message Date
Carlos Eduardo Arango Gutierrez
dd24e8bc97
Update generate scripts to use latest code_gen functions
Rewrite the generate.sh into update_codegen inspired in
k8s.io/code-generator documentation.

Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-03-12 11:35:47 +01:00
Kubernetes Prow Robot
8553265d04
Merge pull request #1606 from marquiz/devel/generate
generate: update autogenerate tools
2024-03-11 04:08:49 -07:00
Markus Lehtonen
a562a6188a Update auto-generated code 2024-03-11 12:18:32 +02:00
Markus Lehtonen
163f4f0e7b generate: update autogenerate tools
Fix code auto-generation.
2024-03-11 12:18:23 +02:00
Kubernetes Prow Robot
5d6f3ccec8
Merge pull request #1604 from wpeng102/hook
fix hook issue
2024-03-08 08:33:08 -08:00
Kubernetes Prow Robot
decaafe255
Merge pull request #1598 from allenmun197/issuer
helm: add ability to use a custom issuer
2024-03-06 23:51:53 -08:00
Peng Wang
12ee13dabb fix hook issue 2024-03-05 04:13:08 +00:00
Kubernetes Prow Robot
890a029085
Merge pull request #1594 from marquiz/devel/rdt-linux-only
source/cpu: fix build tags on rdt discovery
2024-02-29 02:16:53 -08:00
Allen Mun
8bd52594ab add ability to use a custom issuer 2024-02-27 12:14:43 -05:00
Markus Lehtonen
a7bd22a75b nfd-master: check if node exists before trying update
Make the node-updater-pool worker fail fast (and not retry updates) if
a node does not exist.
2024-02-20 11:04:46 +02:00
Kevin Hannon
187f65f94e Add swap support in nfd 2024-02-19 10:20:56 -05:00
Markus Lehtonen
36b4315173 source/cpu: fix build tags on rdt discovery
Our current code only builds/works on linux.
2024-02-19 16:40:18 +02:00
Kubernetes Prow Robot
2914bff8b3
Merge pull request #1574 from ozhuraki/system-vendor
source/system: Add reading vendor information
2024-02-19 06:17:27 -08:00
Oleg Zhurakivskyy
2f62aed06d source/system: Add reading vendor information
Add reading vendor information from /sys/devices/virtual/dmi/id/sys_vendor

Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2024-02-19 15:40:31 +02:00
Kubernetes Prow Robot
b593e68d87
Merge pull request #1591 from marquiz/devel/nfd-master-logging
nfd-master: log errors on node update retries
2024-02-16 06:10:49 -08:00
Markus Lehtonen
044fd4a3fd nfd-master: log errors on node update retries 2024-02-16 15:51:04 +02:00
Kubernetes Prow Robot
41e903de1a
Merge pull request #1589 from marquiz/devel/pci-unit-test
source/pci: add unit test for the pci source
2024-02-16 01:36:51 -08:00
Markus Lehtonen
1f3b9ccb97 apis/nfd/validate: use testify/assert for checking test results 2024-02-16 10:05:16 +02:00
Markus Lehtonen
394144829d source/pci: add testdata for the unit tests
Add mock sysfs entries for testing PCI device discovery.
2024-02-15 23:29:34 +02:00
Markus Lehtonen
24a69b0989 source/pci: add unit test for the pci source
Test PCI feature discovery against a mocked sysfs.
2024-02-15 23:29:34 +02:00
Kubernetes Prow Robot
b33b01a31b
Merge pull request #1587 from ArangoGutierrez/priorityclass
helm: add priorityClassName option
2024-02-15 10:29:27 -08:00
Kubernetes Prow Robot
a5de1f73ce
Merge pull request #1588 from marquiz/devel/kernel-unit-test
source/kernel: add unit tests for kernel version parsing
2024-02-15 07:53:09 -08:00
Carlos Eduardo Arango Gutierrez
75f0a14f2a
helm: add priorityClassName option
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-02-15 16:29:33 +01:00
Markus Lehtonen
32b1088f84 source/kernel: add unit tests for kernel version parsing 2024-02-15 14:44:18 +02:00
Kubernetes Prow Robot
e0b8a52f8b
Merge pull request #1582 from marquiz/devel/helm-lint
scripts/test-infra: bump helm to v3.14.0
2024-02-12 05:16:31 -08:00
Kubernetes Prow Robot
769165aff0
Merge pull request #1579 from marquiz/devel/golang
Bump Go to v1.22
2024-02-12 04:53:43 -08:00
Markus Lehtonen
de9da1af8b Bump Go to v1.22 2024-02-12 12:53:42 +02:00
Kubernetes Prow Robot
5683079a06
Merge pull request #1583 from marquiz/devel/logcheck
scripts/test-infra: bump k8s logcheck to v0.8.1
2024-02-12 02:46:31 -08:00
Markus Lehtonen
41092477df scripts/test-infra: bump k8s logcheck to v0.8.1 2024-02-12 12:23:47 +02:00
Markus Lehtonen
cf265e7969 scripts/test-infra: bump helm to v3.14.0 2024-02-12 12:19:39 +02:00
Kubernetes Prow Robot
4e4fa1fec9
Merge pull request #1580 from marquiz/devel/golangci-lint
scripts/test-infra: bump golangci-lint to v1.56.1
2024-02-12 01:14:07 -08:00
Markus Lehtonen
1b6ae03c88 scripts/test-infra: bump golangci-lint to v1.56.1 2024-02-09 13:56:30 +02:00
Kubernetes Prow Robot
5e105a18cc
Merge pull request #1576 from kubernetes-sigs/dependabot/bundler/docs/nokogiri-1.16.2
build(deps-dev): bump nokogiri from 1.16.0 to 1.16.2 in /docs
2024-02-06 07:55:50 -08:00
dependabot[bot]
db6964a4ab
build(deps-dev): bump nokogiri from 1.16.0 to 1.16.2 in /docs
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.16.0 to 1.16.2.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.16.0...v1.16.2)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-06 03:56:11 +00:00
Kubernetes Prow Robot
491627e613
Merge pull request #1575 from kubernetes-sigs/dependabot/go_modules/github.com/opencontainers/runc-1.1.12
build(deps): bump github.com/opencontainers/runc from 1.1.10 to 1.1.12
2024-02-01 03:42:48 -08:00
dependabot[bot]
5c12f840af
build(deps): bump github.com/opencontainers/runc from 1.1.10 to 1.1.12
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.10 to 1.1.12.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.12/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.10...v1.1.12)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 22:51:26 +00:00
Kubernetes Prow Robot
856b1747b9
Merge pull request #1573 from marquiz/devel/docs-hooks
docs: document removal of hooks in v0.17
2024-01-31 01:33:50 -08:00
Kubernetes Prow Robot
e3d5b92211
Merge pull request #1444 from AhmedGrati/docs-kep-spiffe-integration
docs: add KEP of Spiffe integration
2024-01-30 07:22:58 -08:00
Markus Lehtonen
809520809e docs: document removal of hooks in v0.17 2024-01-29 11:35:20 +02:00
Kubernetes Prow Robot
5c99ae8343
Merge pull request #1560 from leemingeer/master
nfd-topology-updater add pods fingerprint by default
2024-01-29 00:34:44 -08:00
Kubernetes Prow Robot
fe69118fd6
Merge pull request #1571 from marquiz/devel/nfd-master-status-patching
nfd-master: fix node status patching
2024-01-26 23:21:29 +01:00
Markus Lehtonen
2382c34697 nfd-master: fix node status patching
Correctly patch the "status" subresource. This got broken when
refactoring the code in 7a050e7cf9 and
wasn't even catched by the unit tests as the fake kubernetes client
doesn't handle subresources as the real apiserver does.
2024-01-26 22:00:13 +02:00
Kubernetes Prow Robot
a66e1d3004
Merge pull request #1561 from marquiz/devel/apihelper-refactor
Drop pkg/apihelper
2024-01-26 18:14:30 +01:00
Markus Lehtonen
8a6a731eb0 Drop pkg/apihelper
The code is now unused.
2024-01-26 18:50:31 +02:00
Kubernetes Prow Robot
33858b7502
Merge pull request #1567 from marquiz/devel/apihelper-refactor-3
topology-updater: ditch apihelper
2024-01-26 17:07:13 +01:00
Kubernetes Prow Robot
8e53bb3ad4
Merge pull request #1570 from marquiz/devel/apihelper-refactor-5
nfd-master: ditch apihelper
2024-01-26 15:30:06 +01:00
Markus Lehtonen
7a050e7cf9 nfd-master: ditch apihelper
Implement some of frequently used helper functions inpackage.

This patch also contains big changes to the nfd-master unit tests. Much
of this is about migrating from the mocked apihelper interface to fake
kubernetes client that provides a bit more apiserver'ish functionality.
At the same time there is quite a bit of renaming in the tests,
shortening and unifying naming and getting rid of the extensive usage of
"mock" everywhere.
2024-01-26 16:09:22 +02:00
Kubernetes Prow Robot
43a9239962
Merge pull request #1568 from marquiz/devel/apihelper-refactor-4
pkg/utils: move JsonPatch from pkg/apihelper
2024-01-26 11:48:24 +01:00
leemingeer
b6d8ce7a5a nfd-topology-updater add pods fingerprint by default 2024-01-26 17:55:34 +08:00
Markus Lehtonen
c581a25a39 topology-updater: ditch apihelper
Stop using pkg/apihelper for accessing the Kubernetes API. Modify unit
tests to use the fake kubernetes client instead of mocked apihelper
interface.
2024-01-25 22:15:20 +02:00