1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-15 17:50:49 +00:00
Commit graph

1921 commits

Author SHA1 Message Date
Kubernetes Prow Robot
b7aa0b2273
Merge pull request #1351 from marquiz/devel/local-refactor
source/local: simplify feature file size checking
2023-09-08 07:10:17 -07:00
Kubernetes Prow Robot
bcdee7b6a9
Merge pull request #1350 from marquiz/devel/security-labels
cpu: drop the deprecated sgx and se labels
2023-09-08 06:34:15 -07:00
Markus Lehtonen
a5e78f0849 source/local: simplify feature file size checking 2023-09-08 15:05:31 +03:00
Markus Lehtonen
c126764d7a cpu: drop the deprecated sgx and se labels
Drop the deprecated cpu-sgx.enabled and cpu-se.enabled labels and the
corresponding "raw" features. These have been replaced by
cpu-security.sgx.enabled and cpu-security.se.enabled.
2023-09-08 14:28:04 +03:00
Kubernetes Prow Robot
a2083f81a5
Merge pull request #1341 from AhmedGrati/chore-common-klog-handling
chore: introduce a commong klog handling for cmd/nfd-*
2023-09-08 01:20:15 -07:00
AhmedGrati
7ab6314bdc chore: introduce a commong klog handling for cmd/nfd-*
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-09-07 22:38:15 +01:00
Kubernetes Prow Robot
0b1c914ace
Merge pull request #1345 from ArangoGutierrez/post014
README: update to v0.14.0
2023-09-07 10:20:58 -07:00
Carlos Eduardo Arango Gutierrez
c59a79938e
README: update to v0.14.0
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2023-09-07 18:58:10 +02:00
Kubernetes Prow Robot
5dfa8c6376
Merge pull request #1343 from marquiz/devel/deps-securejoin
go.mod: bump github.com/cyphar/filepath-securejoin from 0.2.3 to 0.2.4
2023-09-07 08:28:57 -07:00
Markus Lehtonen
a596bf1a5b go.mod: bump github.com/cyphar/filepath-securejoin from 0.2.3 to 0.2.4 2023-09-07 17:19:48 +03:00
Kubernetes Prow Robot
2e6a202218
Merge pull request #1331 from andrewjamesbrown/ajb/chart_annotations
Helm: conditionally add annotations if defined
2023-09-07 01:20:59 -07:00
Kubernetes Prow Robot
c0c1b89a92
Merge pull request #1334 from ArangoGutierrez/grpc_gone_v2
Deprecate gRPC API
2023-09-07 00:38:59 -07:00
Kubernetes Prow Robot
e097c3f8f6
Merge pull request #1338 from AhmedGrati/feat-add-logging-params-config-file
nfd-master: add config file options for logging
2023-09-06 23:58:57 -07:00
Carlos Eduardo Arango Gutierrez
9966d2ae12
Deprecate gRPC API
Now that the NodeFeature API has been set enabled by default, the gRPC
mode will be deprecated and with it all flags and features around it.

For nfd-master, flags
-port, -key-file, -ca-file, -cert-file, -verify-node-name, -enable-nodefeature-api
are now marked as deprecated.

For nfd-worker flags
-enable-nodefeature-api, -ca-file, -cert-file, -key-file, -server, -server-name-override
are now marked as deprecated.

Deprecated flags, as well as gRPC related code will be removed in future
releases.

Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>
2023-09-07 06:48:15 +02:00
AhmedGrati
a5624cc8ca chore: update config file in helm deployment
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-09-06 16:05:02 +01:00
AhmedGrati
a6b4a7d6a9 docs: add docs of logging configuration in nfd master
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-09-06 15:36:15 +01:00
AhmedGrati
b0be40aa09 feat: add logging parameters in configuration file for nfd master
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-09-06 15:27:27 +01:00
Andrew Brown
a3d26a0404
Add new helm values to documentation 2023-09-06 09:55:25 -04:00
Andrew Brown
b2f292bc7a
Add annotations to all deployments+daemonsets 2023-09-06 09:39:01 -04:00
Kubernetes Prow Robot
db2719a19d
Merge pull request #1336 from marquiz/devel/custom-static-rules
sources/custom: convert static rules to new format
2023-09-06 05:12:51 -07:00
Markus Lehtonen
b1b3061738 sources/custom: convert static rules to new format
Also add a log message warning about legacy rule format.
2023-09-06 14:29:56 +03:00
Kubernetes Prow Robot
51c79fea9e
Merge pull request #1335 from AhmedGrati/feat-add-feature-file-size-limit
feat: add feature file size limit
2023-09-06 03:50:51 -07:00
AhmedGrati
124dfbf6df docs: add notes in the customization guide about the feature file size limit
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-09-06 11:15:45 +01:00
AhmedGrati
026534e355 feat: add feature file size limit
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-09-06 10:23:33 +01:00
Kubernetes Prow Robot
aa6e140018
Merge pull request #1333 from ArangoGutierrez/grpc_gone
nfd_gc_test.go: fix multiple import of same pkg
2023-09-06 01:56:51 -07:00
Carlos Eduardo Arango Gutierrez
ade5833ee3
tls.md: Add note (#1332)
* tls.md: Add note

Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>

* Update docs/deployment/tls.md

Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>

---------

Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>
2023-09-06 01:06:52 -07:00
Carlos Eduardo Arango Gutierrez
30b8751515
nfd_gc_test.go: fix multiple import of same pkg
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2023-09-06 09:47:15 +02:00
Andrew Brown
1bb5b87d4a
Conditionally add annotations if defined 2023-09-05 19:37:56 -04:00
Kubernetes Prow Robot
50dd128b23
Merge pull request #1329 from ArangoGutierrez/1187
Enable NodeFeature API by default
2023-09-05 11:56:51 -07:00
Carlos Eduardo Arango Gutierrez
04e954a7c3
Enable NodeFeature API by default
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>
2023-09-05 20:21:31 +02:00
Kubernetes Prow Robot
0fa57b6986
Merge pull request #1328 from marquiz/devel/e2e-one-node
e2e/test: make the nfd-gc test pass on one-node cluster
2023-09-05 04:51:50 -07:00
Markus Lehtonen
f8162a0106 e2e/test: make the nfd-gc test pass on one-node cluster
Also remove some leftover debug print.
2023-09-05 14:16:50 +03:00
Kubernetes Prow Robot
16b96ff896
Merge pull request #1327 from marquiz/devel/grpc-health-probe
Dockerfile: bump grpc-health-probe to v0.4.19
2023-09-05 03:01:51 -07:00
Kubernetes Prow Robot
0b218a1eca
Merge pull request #1285 from AhmedGrati/feat-add-expiry-date-feature-files
Feat: add expiry date for feature files
2023-09-05 02:19:50 -07:00
Markus Lehtonen
9ce215a138 Dockerfile: bump grpc-health-probe to v0.4.19 2023-09-05 11:51:47 +03:00
Kubernetes Prow Robot
8a1facd46a
Merge pull request #1326 from marquiz/devel/docs-hooks
docs: demote hooks in the customization guide
2023-09-04 06:43:49 -07:00
Markus Lehtonen
cbd2c2f3df docs: demote hooks in the customization guide
Hooks are deprecated so describe feature files first.
2023-09-04 16:06:51 +03:00
Kubernetes Prow Robot
19520c079c
Merge pull request #1325 from ffromani/nfd-updater-fix-events
nfd-updater: events: enable timer-only flow
2023-09-04 05:47:49 -07:00
Francesco Romani
000c919071 nfd-updater: events: enable timer-only flow
The nfd-topology-updater has state-directories notification mechanism
enabled by default.
In theory, we can have only timer-based updates, but if the option
is given to disable the state-directories event source, then all
the update mechanism is mistakenly disabled, including the
timer-based updates.

The two updaters mechanism should be decoupled.
So this PR changes this to make sure we can enable just and only
the timer-based updates.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2023-09-04 13:05:50 +02:00
Kubernetes Prow Robot
9848ef9d43
Merge pull request #1321 from ffromani/nfd-topo-updater-fix-docs
docs: nfd-updater: clarify accounting
2023-09-04 00:33:49 -07:00
Francesco Romani
727875f240 docs: nfd-updater: clarify accounting
Clarify that we account, and we can account, only
resources exclusively allocated to Guaranteed QoS pods.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2023-09-04 08:51:14 +02:00
AhmedGrati
47aec15ea1 test: add unit tests for the expiration date function
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-09-01 20:04:24 +01:00
Kubernetes Prow Robot
f852c32a55
Merge pull request #1252 from AhmedGrati/test-add-updater-pool-unit-tests
test: add node updater pool unit tests
2023-09-01 07:34:32 -07:00
Kubernetes Prow Robot
5ad0a28692
Merge pull request #1324 from marquiz/devel/readme
README: update to v0.13.4
2023-09-01 06:12:30 -07:00
Markus Lehtonen
f5fc8d4782 README: update to v0.13.4 2023-09-01 15:10:20 +03:00
Kubernetes Prow Robot
48f37070ed
Merge pull request #1319 from marquiz/devel/docs-build-image
docs: use ruby docker image for building docs
2023-08-31 00:26:47 -07:00
Markus Lehtonen
ae1a95f395 docs: update docs build dependencies
Add webrick as that is needed. Also update other deps to their latest
versions.
2023-08-30 19:31:35 +03:00
Markus Lehtonen
8985e003b5 docs: use ruby docker image for building docs
Get away with the jekyll:3.8 image which is already four years old.  Use
the ruby instead. The jekyll image did not bring any value (more
problems, if anything) as we install/update jekyll and all other gems
with byndler nevertheless (image was jekyll:3.8 but we use jekyll
v3.9.3).
2023-08-30 19:31:35 +03:00
Kubernetes Prow Robot
8cf4a21d62
Merge pull request #1320 from marquiz/devel/github-golangci-lint
Makefile: increase golangci-lint timeout to 10min
2023-08-30 07:56:48 -07:00
Markus Lehtonen
2c8a6208f4 Makefile: increase golangci-lint timeout to 10min 2023-08-30 12:53:24 +03:00