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

2371 commits

Author SHA1 Message Date
Kubernetes Prow Robot
797fada92e
Merge pull request #1585 from kannon92/add-swap-support
add swap support in nfd
2024-03-18 04:19:48 -07:00
Kubernetes Prow Robot
35cc81969f
Merge pull request #1630 from TessaIO/replace-AhmedGrati-with-TessaIO
replace AhmedGrati account with TessaIO as reviewer
2024-03-18 01:53:06 -07:00
TessaIO
7d1d3387be replace AhmedGrati account with TessaIO as reviewer
Signed-off-by: TessaIO <ahmedgrati1999@gmail.com>
2024-03-16 21:37:05 +01:00
Kubernetes Prow Robot
013254404e
Merge pull request #1623 from ArangoGutierrez/featuregate
Add FeatureGate framework to handle new features
2024-03-15 11:34:17 -07:00
Carlos Eduardo Arango Gutierrez
06c4733bc5
Add FeatureGate framework to handle new features
Code inspired on https://github.com/kubernetes/component-base/tree/master/featuregate

Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-03-15 19:11:32 +01:00
Oleg Zhurakivskyy
c662265a47 topology-updater: Add owner reference to NRT object
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2024-03-15 16:36:27 +02:00
Kubernetes Prow Robot
fbc9a78568
Merge pull request #1628 from marquiz/devel/readme
Update readme to v0.15.3 release
2024-03-15 05:58:39 -07:00
Markus Lehtonen
a0d47294f4 Update readme to v0.15.3 release 2024-03-15 11:11:52 +02:00
Kubernetes Prow Robot
52d4337004
Merge pull request #1615 from marquiz/devel/master-mem-leak
nfd-master: fix memory leak in nfd api-controller
2024-03-14 08:21:33 -07:00
Kubernetes Prow Robot
e260c025b8
Merge pull request #1620 from ArangoGutierrez/tuleak
Use close to signal stop channedl in worker and topology-updater
2024-03-14 07:49:36 -07:00
Carlos Eduardo Arango Gutierrez
69dbfdfbc0
Use close to signal stop channedl in worker and topology-updater
Fix stop channel management on Worker and T-updater in case of multiple callers

Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-03-14 15:28:39 +01:00
Kubernetes Prow Robot
e2e8878735
Merge pull request #1613 from kubernetes-sigs/dependabot/go_modules/google.golang.org/protobuf-1.33.0
build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0
2024-03-14 07:03:56 -07:00
Markus Lehtonen
70fd3757c4 nfd-master: fix memory leak in nfd api-controller
Fixes a memory leak that happened when stopping (and then re-starting)
the nfd api controller. The stop channel was not used properly which
caused the underlying informer to keep on running.
2024-03-14 15:39:10 +02:00
Markus Lehtonen
559d362ac3 go.mod: bump github.com/golang/protobuf to v1.5.4 2024-03-14 14:58:09 +02:00
dependabot[bot]
6a1910ecb2
build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-13 23:30:48 +00:00
Kubernetes Prow Robot
1ff7a9457b
Merge pull request #1612 from marquiz/devel/deperecate-crd-controller-flag
nfd-master: mark the -crd-controller flag as deprecated
2024-03-13 07:57:51 -07:00
Markus Lehtonen
638e7744f1 nfd-master: mark the -crd-controller flag as deprecated
Plan the removal of the -crd-controller flag along with the gRPC API.
This flag does not make much sense after that as all communication with
nfd-worker is based on CRDs - with the CRD controller disabled
nfd-master is virtually a functionless stub.
2024-03-13 15:10:35 +02:00
Kubernetes Prow Robot
b2ba043fae
Merge pull request #1605 from ArangoGutierrez/codegen
Update generate scripts to use latest code_gen functions
2024-03-12 05:18:25 -07:00
Kubernetes Prow Robot
fa3fc477d5
Merge pull request #1611 from marquiz/devel/readme
Update readme to v0.15.2 release
2024-03-12 04:50:49 -07:00
Markus Lehtonen
bba4275b0d Update readme to v0.15.2 release 2024-03-12 13:45:09 +02:00
Kubernetes Prow Robot
ebd19fe692
Merge pull request #1590 from marquiz/devel/validation-assert
apis/nfd/validate: use testify/assert for checking test results
2024-03-12 04:44:09 -07:00
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