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
Markus Lehtonen
3a17056217
README: point to v0.10.1
2022-01-24 16:47:11 +02:00
Kubernetes Prow Robot
d7fa29e7cb
Merge pull request #748 from marquiz/documentation/cleanup
...
docs: drop topology-updater cmdline help from developer guide
2022-01-21 07:31:59 -08:00
Markus Lehtonen
3a70803352
docs: drop topology-updater cmdline help from developer guide
...
Similar to what we did for nfd-master and nfd-worker in
0d21b3d720
.
2022-01-21 17:06:52 +02:00
Kubernetes Prow Robot
cec81bb4a5
Merge pull request #745 from marquiz/documentation/deployment
...
docs: clarify deployment requirements
2022-01-21 05:41:59 -08:00
Markus Lehtonen
7e1f5cb347
docs: clarify deployment requirements
2022-01-21 15:21:51 +02:00
Markus Lehtonen
64b3838579
source/pci: detect intel-iommu/version
...
Discover "iommu/intel-iommu/version" sysfs attribute for pci devices.
This information is available for custom label rules.
An example custom rule:
- name: "iommu version rule"
labels:
iommu.version_1: "true"
matchFeatures:
- feature: pci.device
matchExpressions:
"iommu/intel-iommu/version": {op: In, value: ["1:0"]}
2022-01-21 15:16:37 +02:00
Markus Lehtonen
f302962519
docs: fix operator deployment instructions
2022-01-21 15:15:20 +02:00
Kubernetes Prow Robot
f6d4804152
Merge pull request #741 from marquiz/devel/cloudbuild-timeout
...
cloudbuild.yaml: decrease timeout to 25 minutes
2022-01-21 03:23:59 -08:00
Kubernetes Prow Robot
0c330b1a35
Merge pull request #736 from marquiz/devel/grpc-stop
...
nfd-master: do graceful stop of gRPC server
2022-01-21 03:05:59 -08:00
Kubernetes Prow Robot
53b19a9359
Merge pull request #732 from marquiz/fixes/master
...
nfd-master: print gRPC server error correctly
2022-01-21 02:35:59 -08:00
Markus Lehtonen
e53d053475
nfd-master: do graceful stop of gRPC server
2022-01-21 12:03:07 +02:00
Markus Lehtonen
e674631591
cloudbuild.yaml: decrease timeout to 25 minutes
...
Build time decreased dramatically after upgrading the builder machine
type.
2022-01-21 12:00:14 +02:00
Markus Lehtonen
e95a4dd460
nfd-master: print gRPC server error correctly
2022-01-21 11:56:28 +02:00
Kubernetes Prow Robot
c8359fa50a
Merge pull request #742 from marquiz/devel/test-infra
...
scripts/test-infra: separate task for multiarch image build
2022-01-21 01:55:58 -08:00