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

2011 commits

Author SHA1 Message Date
Markus Lehtonen
f732342a2a test/e2e: improved test logging 2023-10-27 10:21:11 +03:00
Kubernetes Prow Robot
053d9ea6f6
Merge pull request #1441 from marquiz/devel/e2e-typos
test/e2e: fix log messages
2023-10-26 22:34:25 +02:00
Markus Lehtonen
0fa330f2d4 test/e2e: fix log messages
Fix some typos and improve log messages a bit.
2023-10-26 23:01:08 +03:00
Kubernetes Prow Robot
dabd766531
Merge pull request #1436 from marquiz/devel/docs-customization-guide
docs: edits to customization guide
2023-10-26 15:58:11 +02:00
Markus Lehtonen
0a30cf9ce6 docs: rename fields sub-headings in customization guide
Rename the sub-section headings of the "Fields" section (describing the
fields of NodeFeatureRule) to match the actual field names (as in YAML).
2023-10-26 16:31:48 +03:00
Markus Lehtonen
258152923a docs: slightly rework how tainting is documented
Small edit to how tainting is documented in the customization guide.
First, make the heading shorter. Then, move the detailed example yaml
and its description further down in the document to the section that
describes the "taints" field - this is now similar how extended
resources are documented.
2023-10-26 15:57:19 +03:00
Markus Lehtonen
d555109a17 docs: note that extended resources are not supported by custom source 2023-10-26 15:57:19 +03:00
Markus Lehtonen
df9026a6ec docs: rename heading in customization guide
"Feature rule format" is more appropriate as we now support extended
resources and taints in addition to labels.
2023-10-26 15:57:19 +03:00
Kubernetes Prow Robot
e2c7c8fde8
Merge pull request #1417 from ArangoGutierrez/annotations
Discover node features as annotations
2023-10-26 14:33:08 +02:00
Kubernetes Prow Robot
8a5f302c88
Merge pull request #1439 from ArangoGutierrez/helm.lint
Make mdlint v0.13 happy
2023-10-26 13:38:19 +02:00
Carlos Eduardo Arango Gutierrez
150c394374
Make mdlint v0.13 happy
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2023-10-25 21:21:11 +02:00
Kubernetes Prow Robot
59c689746c
Merge pull request #1438 from marquiz/devel/ci-lint
scripts/test-infra: bump golangci-lint to v1.55.1
2023-10-25 20:08:19 +02:00
Carlos Eduardo Arango Gutierrez
c0063be4f4
Discover node features as annotations
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Co-authored-by: bebc <mchf1990212@gmail.com>
Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>
2023-10-25 19:58:58 +02:00
Kubernetes Prow Robot
9de8f67e59
Merge pull request #1437 from marquiz/devel/mdlint
scripts/test-infra: bump mdlint to v0.13.0
2023-10-25 19:45:04 +02:00
Markus Lehtonen
e54bbc9265 scripts/test-infra: bump golangci-lint to v1.55.1 2023-10-25 15:26:55 +03:00
Markus Lehtonen
e6f1f4ddb4 scripts/test-infra: bump mdlint to v0.13.0 2023-10-25 11:20:32 +03:00
Kubernetes Prow Robot
9865b4a880
Merge pull request #1435 from marquiz/devel/readme
Update readme to v0.14.3
2023-10-24 10:20:14 +02:00
Markus Lehtonen
a2026bca33 Update readme to v0.14.3 2023-10-23 19:31:41 +03:00
Kubernetes Prow Robot
29ee4fe896
Merge pull request #1426 from marquiz/devel/e2e-annotations-validation
test/e2e: stricter validation of node annotations
2023-10-23 10:14:41 +02:00
Markus Lehtonen
ddec2e27cb test/e2e: drop the unused ignoreUnexpected arg from custom matcher 2023-10-20 18:04:18 +03:00
Markus Lehtonen
28132fb274 test/e2e: stricter validation of node annotations
Now that the hard-to-predict version annotations are gone we can do
strict validation of nfd-generated node annotations.
2023-10-20 18:04:18 +03:00
Kubernetes Prow Robot
6144f3db61
Merge pull request #1422 from marquiz/devel/deps
go.mod: update deps
2023-10-20 17:02:46 +02:00
Kubernetes Prow Robot
5a5892a3c4
Merge pull request #1425 from marquiz/devel/node-update-fix
nfd-master: fix retry of node updates
2023-10-20 16:40:52 +02:00
Markus Lehtonen
a9849f20ff nfd-master: fix retry of node updates
This patch addresses issues with slow node status (extended resources)
updates. Previously we did just a few retries in quick succession which
could result in the node update failing, just because node status was
updated slower than our retry window. The patch mitigates the issue by
increasing the number of tries to 15. In addition, it creates a
ratelimiter with a longer per-item (per-node) base delay.

The patch also fixes the e2e-tests to expose the issue.
2023-10-20 17:24:01 +03:00
Kubernetes Prow Robot
b6231b60fc
Merge pull request #1418 from ArangoGutierrez/test-utils-deplo
Fix pkg name for test/utils/deployment
2023-10-20 13:44:32 +02:00
Markus Lehtonen
29b67d024a go.mod: bump kubernetes to v1.28.3 2023-10-20 13:29:21 +03:00
Markus Lehtonen
e83a64a644 go.mod: update deps
The gist of these updates is to update the opentelemetry packages to
versions with the latest security fixes.
2023-10-20 13:24:41 +03:00
Kubernetes Prow Robot
5b3f4cec0a
Merge pull request #1421 from marquiz/devel/fix-e2e
test/e2e: fix source/custom nodename test
2023-10-20 12:16:16 +02:00
Markus Lehtonen
d7a91b818e test/e2e: fix source/custom nodename test
We dropped the legacy rule format so we need to convert the e2e test
rules to the new format, accordingly.
2023-10-20 12:12:45 +03:00
Carlos Eduardo Arango Gutierrez
251f0d8a7e
Fix pkg name for test/utils/deployment
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2023-10-16 16:11:20 +02:00
Kubernetes Prow Robot
b6419c7964
Merge pull request #1397 from marquiz/devel/custom-legacy-rule-format
source/custom: drop support for the legacy rule format
2023-10-13 11:56:01 +02:00
Kubernetes Prow Robot
e1d17152de
Merge pull request #1413 from marquiz/devel/grafana
examples: add example grafana dashboard
2023-10-12 19:02:24 +02:00
Kubernetes Prow Robot
d4007d619e
Merge pull request #1416 from kubernetes-sigs/dependabot/go_modules/golang.org/x/net-0.17.0
build(deps): bump golang.org/x/net from 0.13.0 to 0.17.0
2023-10-12 09:03:31 +02:00
dependabot[bot]
0a58f0e6d9
build(deps): bump golang.org/x/net from 0.13.0 to 0.17.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.13.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.13.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 23:03:39 +00:00
Kubernetes Prow Robot
6424f19692
Merge pull request #1415 from AhmedGrati/feat-add-parameters-to-diable-master-and-worker
feat: add parameters in helm to disable/enable nfd-master and nfd-worker
2023-10-11 22:31:56 +02:00
AhmedGrati
d27eb0ac6d feat: add parameters in helm to disable/enable nfd-master and nfd-worker
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-11 10:50:32 +01:00
Markus Lehtonen
b75de2a283 examples: add example grafana dashboard
Example visualization for all metrics except
nfd_node_update_requests_total which counts the deprecated (and
disabled-by-default) gRPC requests.
2023-10-10 17:47:51 +00:00
Kubernetes Prow Robot
a379fafcaa
Merge pull request #1411 from ArangoGutierrez/postv0142
Update Readme to V0.14.2
2023-10-10 10:45:58 +02:00
Carlos Eduardo Arango Gutierrez
16b935a1a0
Update Readme to V0.14.2
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2023-10-10 10:38:08 +02:00
Kubernetes Prow Robot
c927bf5ecd
Merge pull request #1407 from marquiz/devel/gc-metrics
nfd-gc: add metrics
2023-10-10 09:06:13 +02:00
Markus Lehtonen
98c3b0750d nfd-gc: add metrics
Implements three metrics for nfd-gc:

- nfd_gc_build_info: version information of nfd-gc.
- nfd_gc_objects_deleted_total: total number of NodeFeature and
  NodeResourceTopology objects deleted by nfd-gc.
- nfd_gc_object_delete_failures_total: number of errors encountered when
  deleting NodeFeature and NodeResourceTopology objects.
2023-10-09 13:39:28 +00:00
Kubernetes Prow Robot
44b26e39e4
Merge pull request #1400 from marquiz/devel/metrics-docs
docs: document nfd_topology_updater_build_info metric
2023-10-09 15:35:21 +02:00
Markus Lehtonen
f0a3581ca3 docs: document nfd_topology_updater_build_info metric 2023-10-09 13:06:36 +00:00
Kubernetes Prow Robot
4d30205767
Merge pull request #1406 from marquiz/docs/metrics
docs: clarify nfd_node_update_requests_total metric
2023-10-09 15:02:43 +02:00
Markus Lehtonen
24574724e2 docs: clarify nfd_node_update_requests_total metric 2023-10-09 12:45:03 +00:00
Kubernetes Prow Robot
3469e91390
Merge pull request #1402 from marquiz/devel/deps
go.mod: bump kubernetes to v1.28.2
2023-10-09 14:06:01 +02:00
Markus Lehtonen
9130b5e7cf go.mod: bump kubernetes to v1.28.2 2023-10-09 11:06:49 +00:00
Kubernetes Prow Robot
300a5f5c74
Merge pull request #1399 from marquiz/devel/gc-metrics
nfd-gc: simplify initialization
2023-10-09 11:45:46 +02:00
Markus Lehtonen
f5c6ce2843 nfd-gc: simplify initialization 2023-10-09 11:48:49 +03:00
Kubernetes Prow Robot
899939b4ed
Merge pull request #1398 from marquiz/devel/metrics
Refactor metrics
2023-10-09 10:42:41 +02:00