Markus Lehtonen
9e20c681dc
Update readme to v0.16.0 release
2024-05-27 21:35:40 +03:00
Kubernetes Prow Robot
ed09269cca
Merge pull request #1720 from marquiz/devel/gh-actions
...
Revert "build(deps): bump actions/checkout from 1 to 4"
2024-05-27 11:07:15 -07:00
Markus Lehtonen
3c47b4f32f
Revert "build(deps): bump actions/checkout from 1 to 4"
...
Checkout v4 does some strange mangling of tags, basically overwrites our
signed/annotated tag with something like:
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune \
--no-recurse-submodules origin \
+2e93c3fd478b6631dd7bda9c6ec66a9f99cafaa8:refs/tags/v0.16.0
Which breaks our gh-pages build on release branches/tags.
This reverts commit 130ef1070d
.
2024-05-27 20:59:56 +03:00
Kubernetes Prow Robot
cdf94eb599
Merge pull request #1718 from marquiz/devel/nfg-docs
...
docs: add more cross-references to NodeFeatureGroup API
2024-05-27 03:56:06 -07:00
Markus Lehtonen
bec9297fe7
docs: add more cross-references to NodeFeatureGroup API
2024-05-27 13:41:15 +03:00
Kubernetes Prow Robot
dc52c507e7
Merge pull request #1717 from kubernetes-sigs/dependabot/go_modules/master/github.com/onsi/ginkgo/v2-2.19.0
...
build(deps): bump github.com/onsi/ginkgo/v2 from 2.17.3 to 2.19.0
2024-05-27 00:20:50 -07:00
dependabot[bot]
00a0552b14
build(deps): bump github.com/onsi/ginkgo/v2 from 2.17.3 to 2.19.0
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.17.3 to 2.19.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.17.3...v2.19.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-05-26 09:39:17 +00:00
Kubernetes Prow Robot
28079efacb
Merge pull request #1716 from marquiz/devel/docs-helm-feature-gates
...
docs/helm: document all feature gates
2024-05-24 06:17:10 -07:00
Markus Lehtonen
28c852c9bd
docs/helm: document all feature gates
...
Also, small correction to the description of the
featureGates.NodeFeatureAPI parameter.
2024-05-24 16:02:31 +03:00
Kubernetes Prow Robot
4136a69545
Merge pull request #1715 from marquiz/devel/avx10-deprecate
...
source/cpu: disable AVX10 label
2024-05-24 04:53:59 -07:00
Kubernetes Prow Robot
891d163990
Merge pull request #1673 from marquiz/devel/avx10
...
cpu: advertise AVX10 version
2024-05-24 04:20:14 -07:00
Markus Lehtonen
ece6076dd4
source/cpu: disable AVX10 label
...
Disable AVX10 as unnecessary as AVX10_LEVEL is better suited for
checking AVX10 compatibility. There is not yet any hardware with the
feature so disabling it shouldn't cause problems for users.
2024-05-24 13:50:46 +03:00
Markus Lehtonen
fa2f008d18
cpu: advertise AVX10 version
...
Add new cpuid label "feature.node.kubernetes.io/cpu-cpuid.AVX10_VERSION"
that advertises the supported version of AVX10 vector ISA.
Correspondingly, the patch adds AVX10_VERSION to the "cpu.cpuid" feature
for NodeFeatureRules to consume.
This makes cpu.cpuid on amd64 architecture a "multi-type" feature in
that it contains "flags" and potentially also "attributes" (the only
cpuid attribute so far is the AVX10_VERSION).
2024-05-24 13:48:20 +03:00
Kubernetes Prow Robot
814255b7f1
Merge pull request #1671 from marquiz/devel/nfd-api-multi-type-feature
...
apis/nfd: allow different types of features of the same name
2024-05-24 03:42:30 -07:00
Markus Lehtonen
bb565c0949
source: allow multi-type features
...
Allow multiple types of features (flags, attributes, instances) under
the same name.
2024-05-24 13:18:31 +03:00
Markus Lehtonen
3b448ae623
apis/nfd: allow different types of features of the same name
...
This patch changes the handling of NodeFeatureRules so that one feature
name (say "cpu.cpuid") can hold different types of features (flags,
attributes and/or instances). Requiring features to choose one single
type has not been a limitation of the API itself (and there has been no
validation on this) but an implementation decision.
The new evalutation logic of match expressions is such that "flags" and
"attributes" are basically evaluated as an union - they are both maps
but "flags" just don't have any value associated with the key. However,
"instances" are handled separately as that is basically an array of
maps and needs to be evaluated in a different way (loop over the array
of instances and evaluate expressions against the attributes of each).
Because of this difference care must be taken if mixing "instance"
features with "flag" and/or "attribute" features.
Note that the API types or their validation is not changed - just the
implementation of how the NodeFeatureRules are evaluated.
2024-05-24 13:18:31 +03:00
Kubernetes Prow Robot
5fe3433e35
Merge pull request #1713 from marquiz/devel/worker-log-fix
...
nfd-worker: improved log when creating NodeFeature object
2024-05-24 02:15:30 -07:00
Kubernetes Prow Robot
80d74cd24d
Merge pull request #1714 from marquiz/devel/api-document-fields
...
api/nfd: document all undocumented fields in the types
2024-05-24 01:52:11 -07:00
Markus Lehtonen
b3d6282d2c
api/nfd: document all undocumented fields in the types
2024-05-23 23:49:49 +03:00
Kubernetes Prow Robot
f3051f2601
Merge pull request #1487 from ArangoGutierrez/clusterfeature
...
Add NodeFeatureGroup API
2024-05-23 11:39:11 -07:00
Carlos Eduardo Arango Gutierrez
47c054e1db
Add NodeFeatureGroup CRD
...
The NodeFeatureGroup is an NFD-specific custom resource that is designed for
grouping nodes based on their features. NFD-Master watches for NodeFeatureGroup
objects in the cluster and updates the status of the NodeFeatureGroup object
with the list of nodes that match the feature group rules. The NodeFeatureGroup
rules follow the same syntax as the NodeFeatureRule rules.
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-05-23 16:34:08 +02:00
Markus Lehtonen
649036977e
nfd-worker: improved log when creating NodeFeature object
...
Don't log an empty NodeFeature object.
2024-05-23 14:37:26 +03:00
Kubernetes Prow Robot
6644b6a7f6
Merge pull request #1711 from kubernetes-sigs/dependabot/go_modules/master/github.com/onsi/ginkgo/v2-2.17.3
...
build(deps): bump github.com/onsi/ginkgo/v2 from 2.17.2 to 2.17.3
2024-05-19 23:41:26 -07:00
Kubernetes Prow Robot
5dfe1c86c7
Merge pull request #1709 from kubernetes-sigs/dependabot/bundler/docs/rexml-3.2.8
...
build(deps): bump rexml from 3.2.6 to 3.2.8 in /docs
2024-05-19 23:23:27 -07:00
dependabot[bot]
902d374a88
build(deps): bump github.com/onsi/ginkgo/v2 from 2.17.2 to 2.17.3
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.17.2 to 2.17.3.
- [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.17.2...v2.17.3 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-19 09:42:17 +00:00
dependabot[bot]
2943be2cf4
build(deps): bump rexml from 3.2.6 to 3.2.8 in /docs
...
Bumps [rexml](https://github.com/ruby/rexml ) from 3.2.6 to 3.2.8.
- [Release notes](https://github.com/ruby/rexml/releases )
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md )
- [Commits](https://github.com/ruby/rexml/compare/v3.2.6...v3.2.8 )
---
updated-dependencies:
- dependency-name: rexml
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 21:34:05 +00:00
Kubernetes Prow Robot
eda85439fa
Merge pull request #1708 from marquiz/devel/nf-feature-gate
...
Re-add -enable-nodefeature-api cmdline flag
2024-05-16 01:11:57 -07:00
Markus Lehtonen
560bd11d85
Re-add -enable-nodefeature-api cmdline flag
...
Bring back the -enable-nodefeature-api command line flag and the
corresponding enableNodeFeatureApi helm config value that were
removed without deprecation when the NodeFeatureAPI feature gate was
introduced. The thinking behind this change is to not break existing
users (without warning) unless totally unavoidable. Now the
-enable-nodefeature-api flag is marked as deprecated and slated for
removal in NFD v0.17.
The NodeFeatureAPI feature gate and the -enable-nodefeature-api flag
work together so that the NodeFeature API is disabled (gRPC is enabled,
instead) if either of them is set to false.
This patch selectively reverts parts of
06c4733bc5
.
2024-05-16 10:53:49 +03:00
Kubernetes Prow Robot
fc382947aa
Merge pull request #1707 from marquiz/devel/ns-feature-gate
...
nfd-master: add DisableAutoPrefix feature gate
2024-05-15 10:31:54 -07:00
Markus Lehtonen
121345472d
nfd-master: add DisableAutoPrefix feature gate
...
Now that we have support for feature gates deprecate the autoDefaultNs
config option of nfd-master and replace it with a new alpha feature gate
DisableAutoPrefix (defaults to false). Using a feature gate to handle
and communicate these kind of changes, where the default behavior is
intended to be changed in a future release, feels much more natural than
using random flags/options.
The combined logic of the feature gate and the config option is a
logical OR over disabling auto-prefixing. That is, auto-prefixing is
disabled if either the feature gate or the config options is used set to
disable it:
| DisableAutoPrefix (feature gate)
| false | true
-------------------- | --------------------------------
autoDefaultNs true | ON | OFF
(config opt) false | OFF | OFF
2024-05-15 17:01:16 +03:00
Markus Lehtonen
eb7a0ada5c
nfd-master: import features package as nfdfeatures
...
Refactoring to prevent naming clash in future changes.
2024-05-15 11:27:46 +03:00
Kubernetes Prow Robot
5d9266bd6c
Merge pull request #1705 from kubernetes-sigs/dependabot/go_modules/master/github.com/k8stopologyawareschedwg/podfingerprint-0.2.2
...
build(deps): bump github.com/k8stopologyawareschedwg/podfingerprint from 0.1.2 to 0.2.2
2024-05-14 05:45:11 -07:00
Kubernetes Prow Robot
f2a94c6559
Merge pull request #1703 from kubernetes-sigs/dependabot/go_modules/master/google.golang.org/protobuf-1.34.1
...
build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.1
2024-05-14 05:17:11 -07:00
dependabot[bot]
125532d859
build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.1
...
Bumps google.golang.org/protobuf from 1.33.0 to 1.34.1.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-14 09:53:15 +00:00
Kubernetes Prow Robot
77fdaaf3fe
Merge pull request #1706 from kubernetes-sigs/dependabot/bundler/docs/nokogiri-1.16.5
...
build(deps-dev): bump nokogiri from 1.16.2 to 1.16.5 in /docs
2024-05-14 00:39:11 -07:00
Kubernetes Prow Robot
d7ef8b6705
Merge pull request #1702 from kubernetes-sigs/dependabot/go_modules/master/google.golang.org/grpc-1.63.2
...
build(deps): bump google.golang.org/grpc from 1.60.1 to 1.63.2
2024-05-14 00:25:11 -07:00
dependabot[bot]
4863c022e9
build(deps-dev): bump nokogiri from 1.16.2 to 1.16.5 in /docs
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.16.2 to 1.16.5.
- [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.2...v1.16.5 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 23:37:53 +00:00
dependabot[bot]
2f77ef8cbe
build(deps): bump google.golang.org/grpc from 1.60.1 to 1.63.2
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.60.1 to 1.63.2.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.60.1...v1.63.2 )
---
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-05-12 16:35:58 +00:00
Kubernetes Prow Robot
eef9912bab
Merge pull request #1701 from kubernetes-sigs/dependabot/go_modules/master/golang.org/x/net-0.25.0
...
build(deps): bump golang.org/x/net from 0.24.0 to 0.25.0
2024-05-12 09:35:03 -07:00
dependabot[bot]
8f3bf22cc0
build(deps): bump github.com/k8stopologyawareschedwg/podfingerprint
...
Bumps [github.com/k8stopologyawareschedwg/podfingerprint](https://github.com/k8stopologyawareschedwg/podfingerprint ) from 0.1.2 to 0.2.2.
- [Commits](https://github.com/k8stopologyawareschedwg/podfingerprint/compare/v0.1.2...v0.2.2 )
---
updated-dependencies:
- dependency-name: github.com/k8stopologyawareschedwg/podfingerprint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-12 09:06:27 +00:00
dependabot[bot]
4d92da8037
build(deps): bump golang.org/x/net from 0.24.0 to 0.25.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/net/compare/v0.24.0...v0.25.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-05-12 09:06:11 +00:00
Kubernetes Prow Robot
ff1b3f4520
Merge pull request #1697 from kubernetes-sigs/dependabot/go_modules/master/github.com/k8stopologyawareschedwg/noderesourcetopology-api-0.1.2
...
build(deps): bump github.com/k8stopologyawareschedwg/noderesourcetopology-api from 0.1.0 to 0.1.2
2024-05-06 02:08:38 -07:00
dependabot[bot]
b277c9d397
build(deps): bump github.com/k8stopologyawareschedwg/noderesourcetopology-api
...
Bumps [github.com/k8stopologyawareschedwg/noderesourcetopology-api](https://github.com/k8stopologyawareschedwg/noderesourcetopology-api ) from 0.1.0 to 0.1.2.
- [Release notes](https://github.com/k8stopologyawareschedwg/noderesourcetopology-api/releases )
- [Commits](https://github.com/k8stopologyawareschedwg/noderesourcetopology-api/compare/v0.1.0...v0.1.2 )
---
updated-dependencies:
- dependency-name: github.com/k8stopologyawareschedwg/noderesourcetopology-api
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 08:18:35 +00:00
Kubernetes Prow Robot
0fbde6bf65
Merge pull request #1699 from kubernetes-sigs/dependabot/go_modules/master/github.com/onsi/gomega-1.33.1
...
build(deps): bump github.com/onsi/gomega from 1.33.0 to 1.33.1
2024-05-06 01:16:41 -07:00
Kubernetes Prow Robot
d10d57e492
Merge pull request #1698 from kubernetes-sigs/dependabot/go_modules/master/github.com/google/uuid-1.6.0
...
build(deps): bump github.com/google/uuid from 1.5.0 to 1.6.0
2024-05-06 01:16:35 -07:00
Kubernetes Prow Robot
c89deea6f0
Merge pull request #1696 from kubernetes-sigs/dependabot/go_modules/master/github.com/stretchr/testify-1.9.0
...
build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0
2024-05-06 01:16:26 -07:00
Kubernetes Prow Robot
2993115999
Merge pull request #1695 from kubernetes-sigs/dependabot/go_modules/master/github.com/klauspost/cpuid/v2-2.2.7
...
build(deps): bump github.com/klauspost/cpuid/v2 from 2.2.6 to 2.2.7
2024-05-06 01:16:17 -07:00
Kubernetes Prow Robot
b6084511d2
Merge pull request #1694 from marquiz/devel/selinux
...
source/kernel: silence misleading error on selinux detection
2024-05-06 00:47:56 -07:00
dependabot[bot]
811eb90a9f
build(deps): bump github.com/onsi/gomega from 1.33.0 to 1.33.1
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.33.0 to 1.33.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.33.0...v1.33.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-05-05 09:20:26 +00:00
dependabot[bot]
c622633ff2
build(deps): bump github.com/google/uuid from 1.5.0 to 1.6.0
...
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/google/uuid/releases )
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/uuid/compare/v1.5.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/google/uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-05 09:20:21 +00:00