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

1152 commits

Author SHA1 Message Date
Kubernetes Prow Robot
0e872e3a1a
Merge pull request #826 from k8s-infra-cherrypick-robot/cherry-pick-824-to-release-0.11
[release-0.11] docs: small typo fix in cpuid feature list
2022-06-08 00:51:49 -07:00
Markus Lehtonen
fcf6ff7bb6 docs: small typo fix in cpuid feature list 2022-06-08 07:04:26 +00:00
Kubernetes Prow Robot
9caf23e1ce
Merge pull request #813 from k8s-infra-cherrypick-robot/cherry-pick-811-to-release-0.11
[release-0.11] docs: fix operator deployment instructions
2022-06-07 14:38:26 -07:00
Kubernetes Prow Robot
cee8ba9b57
Merge pull request #823 from k8s-infra-cherrypick-robot/cherry-pick-818-to-release-0.11
[release-0.11] docs: update x86 cpuid feature list
2022-06-07 14:14:27 -07:00
Markus Lehtonen
20053667e1 docs: update x86 cpuid feature list
Update the partial list of x86 cpuid features that are presented in the
NFD documentation. In particular, the following instructions were left
out of the list: AVXSLOW, CETIBT, CETSS, CLDEMOTE, HLE, MPX, RTM,
RTM_ALWAYS_ABORT, SERIALIZE, SHA, TSXLDTRK.
2022-06-07 20:23:03 +00:00
Kubernetes Prow Robot
53757b956b
Merge pull request #821 from marquiz/devel/release-0.11
Update references to release v0.11.1
2022-06-07 08:36:56 -07:00
Markus Lehtonen
cc22be8ef1 Update references to release v0.11.1
Generated with:

    scripts/prepare-release.sh v0.11.1 markus.lehtonen@intel.com
2022-06-07 17:50:22 +03:00
Kubernetes Prow Robot
fd79046fe3
Merge pull request #819 from k8s-infra-cherrypick-robot/cherry-pick-814-to-release-0.11
[release-0.11] source/network: ignore interface operational state
2022-06-07 06:10:56 -07:00
Markus Lehtonen
0134090016 source/network: ignore interface operational state
Ignore the operational state of network interface when creating the
network SR-IOV labels. Previously NFD only considered interfaces which
were "up".

Pre v0.9 we used to check the "administrative state" of interfaces
(managed by the sysadmin with e.g. with ip link set dev <dev> down/up).
In v0.10 we changed to checking the "operational state" of interfaces,
reflecting whether the it is actually able to transfer data. Both these
checks have caused confusion among users and it is more understandable
and more aligned with other HW discovery functions in NFD to just drop
the state check. Also, the documentation is aligned with this behavior.
2022-06-07 12:26:26 +00:00
Kubernetes Prow Robot
9f6a97905f
Merge pull request #815 from k8s-infra-cherrypick-robot/cherry-pick-804-to-release-0.11
[release-0.11] scripts/test-infra: bump golangci-lint to v1.45.2
2022-05-13 03:05:48 -07:00
Markus Lehtonen
dc25a59d9c nfd-worker: stop using deprecated strings.Title
Make golangci-lint happy.
2022-05-13 09:49:27 +00:00
Markus Lehtonen
4c9ab6d385 scripts/test-infra: bump golangci-lint to v1.45.2
Adds support for golang v1.18.
2022-05-13 09:49:27 +00:00
Markus Lehtonen
2ee79d55ff docs: fix operator deployment instructions
Namespace parameter was dropped in operator v0.4.0.
2022-05-11 15:59:50 +00:00
Kubernetes Prow Robot
6d3a16b7c1
Merge pull request #801 from k8s-infra-cherrypick-robot/cherry-pick-800-to-release-0.11
[release-0.11] scripts/update-gh-pages: adjust commit message body
2022-04-11 07:30:08 -07:00
Markus Lehtonen
cdfbc96d68 scripts/update-gh-pages: adjust commit message body
Align the version number inserted in the commit message with what we use
in the Makefile.
2022-04-11 14:14:37 +00:00
Kubernetes Prow Robot
5f8bed58bf
Merge pull request #797 from marquiz/devel/release-0.11
[release-0.11] Update references to release v0.11.0
2022-03-28 06:25:23 -07:00
Markus Lehtonen
a22eea431f Update references to release v0.11.0
Generated with:

  scripts/prepare-release.sh v0.11.0 markus.lehtonen@intel.com
2022-03-28 16:00:40 +03:00
Kubernetes Prow Robot
eedb00906b
Merge pull request #790 from Jakob-Naucke/secure-execution
cpu: Discover IBM Secure Execution
2022-03-28 04:47:24 -07:00
Jakob Naucke
9e95dde38b
cpu: Discover IBM Secure Execution
Set `cpu.se-enabled` to `true` when IBM Secure Execution for Linux
(IBM Z & LinuxONE) is available and has been enabled.

Uses `/sys/firmware/uv/prot_virt_host`, which is available in kernels
>=5.12 + backports. For simplicity, skip more complicated facility &
kernel cmdline lookups.
2022-03-28 12:28:07 +02:00
Carlos Eduardo Arango Gutierrez
cb0a6fca53
Add cpu-model feature detection (#792)
* Add cpu-model feature detection

Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>

* Apply suggestions from code review

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

Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>
2022-03-28 02:51:23 -07:00
Kubernetes Prow Robot
f952b9feed
Merge pull request #794 from dailymotion-oss/feat/add-annotations-dp-ds
helm: add annotations to daemonset and deployment
2022-03-25 07:37:59 -07:00
Kubernetes Prow Robot
4a6e9c7438
Merge pull request #787 from marquiz/devel/empty-matchexpression
apis/nfd: empty match expression set returns no features for templates
2022-03-25 00:01:50 -07:00
Cyril Corbon
eeb1f0d5e5
helm: add annotations to daemonset and deployment
Signed-off-by: Cyril Corbon <cyril.corbon@dailymotion.com>
2022-03-24 12:13:29 +01:00
Markus Lehtonen
36341bf4c7 apis/nfd: empty match expression set returns no features for templates
This patch changes a rare corner case of custom label rules with an
empty set of matchexpressions. The patch removes a special case where an
empty match expression set matched everything and returned all feature
elements for templates to consume. With this patch the match expression
set logically evaluates all expressions in the set and returns all
matches - if there are no expressions there are no matches and no
matched features are returned. However, the overall match result
(determining if "non-template" labels will be created) in this special
case will be "true" as before as none of the zero match expressions
failed.

The former behavior was somewhat illogical and counterintuitive: having
1 to N expressions matched and returned 1 to N features (at most), but,
having 0 expressions always matched everything and returned all
features. This was some leftover proof-of-concept functionality (for
some possible future extensions) that should have been removed before
merging.
2022-03-24 11:43:42 +02:00
Kubernetes Prow Robot
f8bc1626be
Merge pull request #796 from ArangoGutierrez/devel/release_typo
Fix a couple typos
2022-03-24 00:32:42 -07:00
Carlos Eduardo Arango Gutierrez
73d874b92f
Fix a couple typos
Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
2022-03-23 19:16:01 -04:00
Kubernetes Prow Robot
2b2271120f
Merge pull request #793 from mythi/helm-resource-labels
deployment/helm: add resourceLabels to master args
2022-03-23 09:16:11 -07:00
Mikko Ylinen
9bbb960d35 deployment/helm: add resourceLabels to master args
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-03-23 06:59:49 +02:00
Kubernetes Prow Robot
1b16b94778
Merge pull request #783 from tkatila/nfd-topologyupdater-crash
topologyupdater: Prevent crash with incorrect node id
2022-03-22 12:17:59 -07:00
Kubernetes Prow Robot
dbc70713f7
Merge pull request #716 from marquiz/devel/iommu-version
source/pci: detect intel-iommu/version
2022-03-15 05:32:12 -07:00
Vaibhav Goel
b070684af0
Fixed the incorrect references (#769)
* Fixed the incorrect references in customization guide

* Fixd the line length issue on PR

* Fixed again the length issue

* Updated customization.md
2022-03-15 05:16:11 -07:00
Tuomas Katila
2ceafe83b7 topologyupdater: Prevent crash with incorrect node id
It's possible for device plugins to advertise non-existent
numa node ids that cause topology updater to crash.

Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2022-03-15 11:16:02 +02:00
Dipto Chakrabarty
19a57789ad
Additional Lint Fixes in Codebase (#779)
* fix comments and conditonals to fix lint issues

* more linter fixes and spelling fixes

* fix linter issues based on feedback
2022-03-02 17:12:46 -08:00
Kubernetes Prow Robot
9059b5dbec
Merge pull request #782 from mac-chaffee/add-worker-sa
Add ServiceAccount for nfd-worker
2022-02-28 23:43:46 -08:00
Mac Chaffee
7ec13f0dc1
Add ServiceAccount for nfd-worker
Signed-off-by: Mac Chaffee <me@macchaffee.com>

This commit creates a separate ServiceAccount for the nfd-worker like the
other components.

Even though the nfd-worker doesn't need any special RBAC permissions, this
feature is useful for nvidia/gpu-operator (a downstream project) which
supports PodSecurityPolicies. But since nfd-worker doesn't have its own
ServiceAccount, they've bolted on this feature into their fork, which is
giving them issues.

PodSecurityPolicies are used to grant special permission to nfd-worker to
create hostPath volumes.
2022-02-28 16:17:16 -05:00
Kubernetes Prow Robot
d848ee9733
Merge pull request #781 from marquiz/devel/tls-1.3
tls: require min TLS version 1.3
2022-02-25 07:37:51 -08:00
Markus Lehtonen
f9b4ba87a8 tls: require min TLS version 1.3
Deny deprecated TLS versions (1.0 and 1.1). We don't really excpect
other clients than NFD itself so we can just request the latest version.
2022-02-25 10:08:37 +02:00
Kubernetes Prow Robot
87aca5d997
Merge pull request #773 from camh-/docs-namespace-fix
docs: Update default K8S_NAMESPACE
2022-02-14 01:17:29 -08:00
Cam Hutchison
678080c5f1 docs: Update default K8S_NAMESPACE
Change the default K8S_NAMESPACE to node-feature-discovery from
kube-system. The default was changed in the Makefile in commit
5d4484a1d9, but the docs were not updated
to correspond with that.
2022-02-14 19:19:49 +11:00
Kubernetes Prow Robot
3ccd893e66
Merge pull request #771 from mythi/cpuid-v2.0.11
go.mod: update to klauspost/cpuid/v2@v2.0.11
2022-02-08 04:12:54 -08:00
Mikko Ylinen
52a14675ae go.mod: update to klauspost/cpuid/v2@v2.0.11
The new version adds Control-flow Enforcement Technology (CET)
bits detection.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-02-08 11:24:00 +02:00
Kubernetes Prow Robot
27ccbcec55
Merge pull request #754 from marquiz/documentation/custom-config
docs: use new custom rule format in worker config reference
2022-01-25 09:30:31 -08:00
Kubernetes Prow Robot
3401ba1022
Merge pull request #762 from marquiz/documentation/operator-deployment
docs: re-fix operator deployment instructions
2022-01-25 09:12:30 -08:00
Markus Lehtonen
fc32386287 docs: re-fix operator deployment instructions
Back to how it was - the 'stable' channel went away in the latest NFD
update on community-opetors (operatorhub.io).
2022-01-25 18:27:15 +02:00
Kubernetes Prow Robot
a33dd9e17d
Merge pull request #755 from marquiz/fixes/scripts
scripts/prepare-release: fix upating of readme
2022-01-25 07:58:31 -08:00
Markus Lehtonen
3ff50e5ce4 scripts/prepare-release: fix upating of readme
Fix the sed script to update the version of kustomize overlay.

Also, add a sed script to update the documentation link to point to the
correct version in gh-pages.
2022-01-25 17:43:05 +02:00
Kubernetes Prow Robot
8bb3c84578
Merge pull request #726 from marquiz/documentation/operator-deployment
docs: fix operator deployment instructions
2022-01-25 05:42:32 -08:00
Kaito Ii
a717cfd716
docs: update helm document to match values.yaml (#727)
* update helm document to match values.yaml

* Add links
2022-01-25 01:00:32 -08:00
Markus Lehtonen
e3661bda30 docs: use new custom rule format in worker config reference
Also, update the reference linking to the documentation of the custom
source to point to the customization guide.
2022-01-25 10:31:21 +02:00
Kubernetes Prow Robot
04caec30c7
Merge pull request #753 from marquiz/devel/readme
README: point to v0.10.1
2022-01-24 08:03:58 -08:00