1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-06 08:47:04 +00:00
Commit graph

2769 commits

Author SHA1 Message Date
Marcin Franczyk
0b7661bf17
Add experimental note and fix subcmds flags naming
Signed-off-by: Marcin Franczyk <marcin0franczyk@gmail.com>
2024-12-18 15:39:18 +01:00
Kubernetes Prow Robot
90fc6dbf0c
Merge pull request #1989 from marquiz/devel/drop-protobuf
Drop protobuf definitions and protobuf code generation
2024-12-18 11:57:50 +01:00
Markus Lehtonen
bcb493ec96 Update autogenerated code
This encompasses a lot of changes because of the recent bump to
Kubernetes v1.32 (the code-generator version was bumped, too).
2024-12-18 12:30:46 +02:00
Markus Lehtonen
3fb617beec Drop protobuf definitions and protobuf code generation
Unused after the gRPC API was removed.
2024-12-18 12:30:16 +02:00
Marcin Franczyk
5b57312d74 Add image compatibility documentation
Signed-off-by: Marcin Franczyk <marcin0franczyk@gmail.com>
2024-12-18 10:49:02 +01:00
Marcin Franczyk
efc299ecf6 Introduce nfd client tool with a subset of image compatibility commands
Signed-off-by: Marcin Franczyk <marcin0franczyk@gmail.com>
2024-12-18 10:49:02 +01:00
Marcin Franczyk
51bbbe202d Extend NFR code with MatchStatus and introduce failFast strategy.
MatchStatus provides details about successful expressions and their results,
which are the matched host features. Additionally, a new flag controls
rule processing behavior: it can either stop at the first error or
continue processing all expressions and rules.

Signed-off-by: Marcin Franczyk <marcin0franczyk@gmail.com>
2024-12-18 10:48:14 +01:00
Kubernetes Prow Robot
0188aade60
Merge pull request #1987 from marquiz/devel/deps
go.mod: bump kubernetes to v1.32
2024-12-18 09:25:50 +01:00
Markus Lehtonen
cbe5cdd6a3 go.mod: bump kubernetes to v1.32
Also bump to Kubernetes patch version in api/nfd to 1.30.8.
2024-12-18 10:00:09 +02:00
Kubernetes Prow Robot
d1097274b4
Merge pull request #1985 from kubernetes-sigs/dependabot/go_modules/master/github.com/opencontainers/runc-1.2.3
build(deps): bump github.com/opencontainers/runc from 1.2.2 to 1.2.3
2024-12-18 07:10:53 +01:00
dependabot[bot]
cc133c7d6f
build(deps): bump github.com/opencontainers/runc from 1.2.2 to 1.2.3
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/v1.2.3/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.2.2...v1.2.3)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-16 11:22:20 +00:00
Kubernetes Prow Robot
9ece76dda4
Merge pull request #1984 from kubernetes-sigs/dependabot/go_modules/master/github.com/onsi/gomega-1.36.1
build(deps): bump github.com/onsi/gomega from 1.36.0 to 1.36.1
2024-12-16 12:20:52 +01:00
Kubernetes Prow Robot
f0d55f7960
Merge pull request #1986 from kubernetes-sigs/dependabot/go_modules/golang.org/x/crypto-0.31.0
build(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0
2024-12-16 12:00:51 +01:00
dependabot[bot]
73e34df5b6
build(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.30.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.30.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-16 10:25:57 +00:00
Kubernetes Prow Robot
a103a5445d
Merge pull request #1983 from kubernetes-sigs/dependabot/go_modules/master/google.golang.org/grpc-1.69.0
build(deps): bump google.golang.org/grpc from 1.68.1 to 1.69.0
2024-12-16 11:24:53 +01:00
dependabot[bot]
64e9d05f07
build(deps): bump github.com/onsi/gomega from 1.36.0 to 1.36.1
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.36.0 to 1.36.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.36.0...v1.36.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-15 09:10:03 +00:00
dependabot[bot]
cd85f1a41a
build(deps): bump google.golang.org/grpc from 1.68.1 to 1.69.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.68.1 to 1.69.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.68.1...v1.69.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-15 09:09:59 +00:00
Kubernetes Prow Robot
3e87c97ac2
Merge pull request #1976 from marquiz/devel/grpc-api-cleanup
Cleanup for NodeFeature API being GA
2024-12-13 15:14:26 +01:00
Markus Lehtonen
fc103a6028 Cleanup for NodeFeature API being GA
Drop references to the gRPC API and don't suggest that NodeFeatureAPI
could be disabled.

Also update the developer guide for instructions running nfd components
outside the cluster.
2024-12-13 15:40:46 +02:00
Kubernetes Prow Robot
caaac59eba
Merge pull request #1860 from ozhuraki/no-owner-refs
nfd-worker: Add an option to disable setting the owner references
2024-12-13 13:12:26 +01:00
Kubernetes Prow Robot
68e1108874
Merge pull request #1981 from marquiz/devel/fix-version-parsing-2
Makefile: fix version parsing
2024-12-13 10:38:26 +01:00
Markus Lehtonen
55961cc337 Makefile: fix version parsing
One bit that was accidentally left out from
047d0314aa
2024-12-13 10:49:42 +02:00
Kubernetes Prow Robot
1ecb1c7b22
Merge pull request #1977 from marquiz/devel/fix-version-parsing
Fix version parsing
2024-12-13 08:44:28 +01:00
Markus Lehtonen
047d0314aa Fix version parsing
The fix in a416af51a4 was not enough by
itself and that needs to be applied comprehensively.
2024-12-12 22:14:50 +02:00
Kubernetes Prow Robot
1416072699
Merge pull request #1965 from ozhuraki/namespace-lister-check
nfd-master: check that namespace informer cache sync succeeded
2024-12-12 20:10:25 +01:00
Kubernetes Prow Robot
4094da373d
Merge pull request #1974 from marquiz/devel/gh-pages-branch-fix
scripts/update-gh-pages: fix release version parsing
2024-12-12 19:50:26 +01:00
Kubernetes Prow Robot
5a859ed21c
Merge pull request #1810 from marquiz/devel/startup-probe
deployment: add startupProbe for nfd-master
2024-12-12 19:32:26 +01:00
Markus Lehtonen
fb6484fb8d deployment: add startupProbe for nfd-master
This patch mitigates inadvertent termination of nfd-master pods by the
liveness probe on big clusters.

With a recent change nfd-master started to wait (block) for informer
caches to sync before starting the main loop. Consequently, this change
also made the gRPC health enpoint to not respond until the caches have
been synced. In big clusters the syncing the NodeFeature object cache
takes a long time as the objects are big and there's (at least) one per
each node in the cluster. Thus, in big clusters, the liveness probe
kicks in and kills the nfd-master pod before it's ready.
2024-12-12 20:00:49 +02:00
Kubernetes Prow Robot
6bc66edb2a
Merge pull request #1845 from mfranczy/nfd-image-compatibility
NFD image compatibility proposal
2024-12-12 15:40:25 +01:00
Markus Lehtonen
a416af51a4 scripts/update-gh-pages: fix release version parsing
When determining the release branch only consider "main" release tags,
refusing to pick api/nfd/v* tags.
2024-12-12 11:01:17 +02:00
Kubernetes Prow Robot
86d2809b77
Merge pull request #1968 from kubernetes-sigs/dependabot/go_modules/master/golang.org/x/net-0.32.0
build(deps): bump golang.org/x/net from 0.31.0 to 0.32.0
2024-12-10 16:02:04 +00:00
dependabot[bot]
4ad413a081
build(deps): bump golang.org/x/net from 0.31.0 to 0.32.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.31.0 to 0.32.0.
- [Commits](https://github.com/golang/net/compare/v0.31.0...v0.32.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-10 14:03:30 +00:00
Kubernetes Prow Robot
ad221b2516
Merge pull request #1969 from kubernetes-sigs/dependabot/go_modules/master/google.golang.org/grpc-1.68.1
build(deps): bump google.golang.org/grpc from 1.68.0 to 1.68.1
2024-12-10 14:02:03 +00:00
dependabot[bot]
173b0c73b5
build(deps): bump google.golang.org/grpc from 1.68.0 to 1.68.1
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.68.0 to 1.68.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.68.0...v1.68.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-08 09:12:47 +00:00
Oleg Zhurakivskyy
f13ccb1fb5 nfd-master: check that namespace informer cache sync succeeded
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2024-12-02 12:46:25 +02:00
Kubernetes Prow Robot
0beafc6aa7
Merge pull request #1966 from kubernetes-sigs/dependabot/go_modules/master/github.com/onsi/gomega-1.36.0
build(deps): bump github.com/onsi/gomega from 1.35.1 to 1.36.0
2024-12-02 08:47:00 +00:00
dependabot[bot]
d84b0682f1
build(deps): bump github.com/onsi/gomega from 1.35.1 to 1.36.0
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.35.1 to 1.36.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.35.1...v1.36.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-01 09:35:14 +00:00
Oleg Zhurakivskyy
20ef877ab1 nfd-worker: Add an option to disable setting the owner references
In some cases it's desirable to control automatic garbage collection
of NodeFeature object.

Add an option to disable setting the owner references to Pod
for NodeFeature object.

Closes: 1817

Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2024-11-28 16:50:10 +02:00
Kubernetes Prow Robot
620e16e334
Merge pull request #1959 from kubernetes-sigs/dependabot/go_modules/master/github.com/onsi/ginkgo/v2-2.22.0
build(deps): bump github.com/onsi/ginkgo/v2 from 2.21.0 to 2.22.0
2024-11-28 12:48:57 +00:00
Kubernetes Prow Robot
443913e019
Merge pull request #1956 from googs1025/chore/add_metrics_prefix
chore: add metrics system prefix
2024-11-28 09:00:59 +00:00
googs1025
e631a52374 chore: add metrics system prefix 2024-11-28 09:57:40 +08:00
Kubernetes Prow Robot
0efd38e120
Merge pull request #1961 from marquiz/devel/fsnotify
pkg/utils: drop fswatcher
2024-11-27 17:06:57 +00:00
Kubernetes Prow Robot
b09a45444d
Merge pull request #1962 from marquiz/devel/k8s
go.mod: bump kubernetes patch version
2024-11-27 09:52:56 +00:00
Markus Lehtonen
9eb3200cf4 go.mod: bump kubernetes patch version 2024-11-26 15:08:59 +02:00
Kubernetes Prow Robot
6e429610f2
Merge pull request #1935 from ozhuraki/amx-fp8
Document AMXFP8 cpuid feature
2024-11-26 12:56:56 +00:00
Markus Lehtonen
2220b99621 pkg/utils: drop fswatcher
Dead code.
2024-11-26 14:40:53 +02:00
Oleg Zhurakivskyy
fb52206b96 Detect AMXFP8 cpuid feature
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2024-11-26 14:39:18 +02:00
Kubernetes Prow Robot
650c269298
Merge pull request #1960 from kubernetes-sigs/dependabot/go_modules/master/github.com/stretchr/testify-1.10.0
build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0
2024-11-26 12:26:56 +00:00
dependabot[bot]
5ace20d5ce
build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-24 09:41:31 +00:00
dependabot[bot]
7b500af835
build(deps): bump github.com/onsi/ginkgo/v2 from 2.21.0 to 2.22.0
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.21.0 to 2.22.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.21.0...v2.22.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-24 09:41:26 +00:00