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
591a5f28df
Merge pull request #1150 from marquiz/release-0.11
[release-0.11] docs: mark release v0.11 as unsupported
2023-04-18 09:27:02 -07:00
Markus Lehtonen
420974207e docs: mark release v0.11 as unsupported 2023-04-17 20:25:09 +03:00
Kubernetes Prow Robot
317c1a0634
Merge pull request #945 from marquiz/devel/release-0.11
Update references to release v0.11.3
2022-11-01 00:20:45 -07:00
Markus Lehtonen
3a010046eb Update references to release v0.11.3 2022-10-31 17:48:08 +02:00
Kubernetes Prow Robot
1b651c956b
Merge pull request #944 from marquiz/devel/release-0.11
[release-0.11] go.mod: bump kubernetes to v1.23.13
2022-10-31 08:44:44 -07:00
Markus Lehtonen
b867f8f85d go.mod: bump kubernetes to v1.23.13 2022-10-31 16:28:48 +02:00
Kubernetes Prow Robot
f796e2add6
Merge pull request #941 from k8s-infra-cherrypick-robot/cherry-pick-929-to-release-0.11
[release-0.11] topology-updater: continue looping on scan error
2022-10-31 05:18:44 -07:00
Kubernetes Prow Robot
7d519b43ed
Merge pull request #943 from marquiz/backports/cpuid
[release-0.11] cpu: ignore unknown cpuid flags on non-x86
2022-10-31 04:08:44 -07:00
Kubernetes Prow Robot
57d4765eef
Merge pull request #942 from marquiz/backports/baseimage
[release-0.11] Update base image to Debian bullseye
2022-10-31 03:46:44 -07:00
Markus Lehtonen
1a3bf8423b cpu: ignore unknown cpuid flags on non-x86
Avoid trying to create empty "cpu-cpuid." labels for cpuid flags that we
don't have a description for.

(cherry picked from commit 98fd07b117)
2022-10-31 11:17:07 +02:00
Markus Lehtonen
d298100f2b Update base image to Debian bullseye
Update the base used for our "full" image to debian:bullseye-slim. Will
ensure we get the latest and greatest updates and fixes.

(cherry picked from commit a798b4517d)
2022-10-31 11:13:41 +02:00
Francesco Romani
053d9176fc topology-updater: continue looping on scan error
Scanning podresources can temporarily fail; the previous code was
mistakenly not rearming the loop condition when this occurred,
effectively stopping the monitoring.

Rather, we should always pool and bail out on unrecoverable
error or when asked to stop.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-10-31 09:07:28 +00:00
Kubernetes Prow Robot
5741fc92e3
Merge pull request #893 from k8s-infra-cherrypick-robot/cherry-pick-892-to-release-0.11
[release-0.11] docs: fix incorrect shell snippet for removing labels
2022-09-20 01:49:19 -07:00
Markus Lehtonen
8798215411 docs: fix incorrect shell snippet for removing labels 2022-09-15 13:28:09 +00:00
Kubernetes Prow Robot
5d88692b19
Merge pull request #873 from marquiz/devel/release-0.11
[release-0.11] Update references to release v0.11.2
2022-08-23 21:41:48 -07:00
Markus Lehtonen
0a3ee33b09 Update references to release v0.11.2
Generated with:

    scripts/prepare-release.sh v0.11.2 markus.lehtonen@intel.com
2022-08-23 20:27:11 +03:00
Kubernetes Prow Robot
fdf07a1891
Merge pull request #872 from k8s-infra-cherrypick-robot/cherry-pick-865-to-release-0.11
[release-0.11] Fix templates for NodeFeatureRule with MatchAny
2022-08-23 10:13:24 -07:00
Viktor Oreshkin
88199edea8 apis/nfd: fix templates with MatchAny only
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
2022-08-23 16:56:06 +00:00
Viktor Oreshkin
18c314df68 apis/nfd: add more tests for templates
test that NodeFeatureRule templates work with empty MatchFeatures, but
with MatchAny.

this test would fail, higligting an issue which is fixed in next commit.

see #864.

Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
2022-08-23 16:56:06 +00:00
Kubernetes Prow Robot
dd91b709a0
Merge pull request #869 from marquiz/devel/release-0.11-golang
[release-0.11] dockerfile: bump builder image to golang v1.17.13
2022-08-23 06:45:24 -07:00
Markus Lehtonen
b991220011 dockerfile: bump builder image to golang v1.17.13 2022-08-23 14:24:40 +03:00
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