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

1173 commits

Author SHA1 Message Date
Kubernetes Prow Robot
9b87c925a6
Merge pull request #840 from marquiz/devel/e2e-test-config-sample
test/e2e: update e2e-test example config
2022-06-30 09:22:07 -07:00
Markus Lehtonen
b8ab0d8a9e test/e2e: update e2e-test example config
Add feature labels that have been added lately.
2022-06-30 14:21:38 +03:00
Kubernetes Prow Robot
db72f3be22
Merge pull request #839 from marquiz/fixes/e2e
test/e2e: fix checking of nfd-master annotation
2022-06-29 11:08:06 -07:00
Markus Lehtonen
60fdad684b test/e2e: fix checking of nfd-master annotation
The test was broken twofold: Firstly, the annotation was not checked at
all because the name of the node where nfd-master is running was not
set. Secondly, the annotation prefix was used incorrectly.
2022-06-29 20:51:26 +03:00
Kubernetes Prow Robot
71093ef55d
Merge pull request #837 from marquiz/devel/cpuid
go.mod: update github.com/klauspost/cpuid to v2.0.14
2022-06-29 03:30:06 -07:00
Markus Lehtonen
33f0df4ec4 go.mod: update github.com/klauspost/cpuid to v2.0.14
Adds e.g. detection of Intel TME.
2022-06-29 10:27:20 +03:00
Kubernetes Prow Robot
0ed43c75b0
Merge pull request #835 from marquiz/devel/k8s-1.24
go.mod: update kubernetes to v1.24.2
2022-06-28 15:21:34 -07:00
Kubernetes Prow Robot
52da291de2
Merge pull request #834 from marquiz/devel/aws-iam-auth
scripts/test-e2e: update aws-iam-authenticator to v0.5.7
2022-06-28 10:35:59 -07:00
Markus Lehtonen
a7835a060f scripts/test-e2e: update aws-iam-authenticator to v0.5.7
We need the latest version to support client.authentication.k8s.io/v1.
The previous version we used only supported v1alpha1 which was dropped
in K8s v1.24.
2022-06-28 16:56:43 +03:00
Markus Lehtonen
735285e3ef go.mod: update kubernetes to v1.24.2 2022-06-28 15:34:22 +03:00
Kubernetes Prow Robot
3b4c1b1793
Merge pull request #822 from marquiz/fixes/github
github: small fix in new-release issue template
2022-06-08 04:36:22 -07:00
Kubernetes Prow Robot
46fb357762
Merge pull request #825 from marquiz/devel/readme
README: update to v0.11.1
2022-06-08 00:23:49 -07:00
Kubernetes Prow Robot
da27b1b3fe
Merge pull request #824 from marquiz/fixes/docs
docs: small typo fix in cpuid feature list
2022-06-08 00:03:49 -07:00
Markus Lehtonen
7fb9d870f0 README: update to v0.11.1 2022-06-08 09:18:48 +03:00
Markus Lehtonen
b480f5b0ba docs: small typo fix in cpuid feature list 2022-06-08 09:16:37 +03:00
Kubernetes Prow Robot
5669576240
Merge pull request #818 from marquiz/documentation/cpuid
docs: update x86 cpuid feature list
2022-06-07 13:22:26 -07:00
Markus Lehtonen
760cc87345 github: small fix in new-release issue template 2022-06-07 18:43:19 +03:00
Kubernetes Prow Robot
7c4a74f55b
Merge pull request #814 from marquiz/devel/network
source/network: ignore interface operational state
2022-06-07 05:25:49 -07:00
Markus Lehtonen
cc1da2efe3 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 11:56:12 +03:00
Markus Lehtonen
94d105e913 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-05-13 12:40:33 +03:00
Kubernetes Prow Robot
869c7cd5c6
Merge pull request #808 from marquiz/devel/darwin
cpu: add cpuid stub for non-linux platforms
2022-05-11 09:01:03 -07:00
Kubernetes Prow Robot
02d984d23a
Merge pull request #811 from marquiz/documentation/deployment
docs: fix operator deployment instructions
2022-05-11 05:11:01 -07:00
Markus Lehtonen
05af1841cd docs: fix operator deployment instructions
Namespace parameter was dropped in operator v0.4.0.
2022-05-02 13:27:18 +03:00
Markus Lehtonen
d50797ca5d cpu: add cpuid stub for non-linux platforms
Make it possible to do non-linux builds. Code compiles, at least, even
if the feature detection functionality is virtually Linux-only.
2022-04-14 14:15:02 +03:00
Kubernetes Prow Robot
041364dfc6
Merge pull request #807 from marquiz/devel/golang-1.18.1
Dockerfile: update builder image to Go v1.18.1
2022-04-14 03:28:46 -07:00
Markus Lehtonen
269724889c Dockerfile: update builder image to Go v1.18.1 2022-04-14 13:03:02 +03:00
Kubernetes Prow Robot
e475390f6e
Merge pull request #785 from ArangoGutierrez/devel/go_118
Bump Go to 1.18
2022-04-14 00:54:47 -07:00
Kubernetes Prow Robot
feecb51820
Merge pull request #804 from marquiz/devel/golangci-lint
scripts/test-infra: bump golangci-lint to v1.45.2
2022-04-13 02:30:46 -07:00
Markus Lehtonen
443ed48ea8 nfd-worker: stop using deprecated strings.Title
Make golangci-lint happy.
2022-04-13 10:34:29 +03:00
Markus Lehtonen
9276ad49ac scripts/test-infra: bump golangci-lint to v1.45.2
Adds support for golang v1.18.
2022-04-13 09:53:55 +03:00
Carlos Eduardo Arango Gutierrez
71c0ab1f45
Update Dockerfile
Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>
2022-04-12 10:59:30 -04:00
Kubernetes Prow Robot
edaf809e38
Merge pull request #800 from marquiz/devel/scripts
scripts/update-gh-pages: adjust commit message body
2022-04-11 07:06:07 -07:00
Markus Lehtonen
f659372af2 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 16:45:26 +03:00
Kubernetes Prow Robot
ea76c62d75
Merge pull request #798 from marquiz/documentation/dev-guide
docs: remove fixed release tag in developer guide
2022-04-11 02:30:06 -07:00
Kubernetes Prow Robot
a5433f271c
Merge pull request #799 from marquiz/devel/readme
README: bump instructions to use v0.11.0
2022-03-29 04:02:47 -07:00
Markus Lehtonen
510cf5743a README: bump instructions to use v0.11.0 2022-03-29 13:29:28 +03:00
Markus Lehtonen
9424eb7042 docs: remove fixed release tag in developer guide
Let the documentation follow the latest release name. Even if it's just
referential here it would look odd in the future if we refer to some
ancient version.
2022-03-29 09:47:42 +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
Carlos Eduardo Arango Gutierrez
87b29f695d
Bump Go to 1.18
Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
2022-03-21 10:25:32 -04:00