1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-15 17:50:49 +00:00
Commit graph

1119 commits

Author SHA1 Message Date
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
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
Markus Lehtonen
6f56d5edbf scripts/test-infra: separate task for multiarch image build 2022-01-21 11:18:10 +02:00
Kubernetes Prow Robot
117bfe9eb1
Merge pull request #740 from marquiz/devel/cloudbuild-machinetype
cloudbuild.yaml: upgrade machine type to n1-highcpu-8
2022-01-21 00:17:58 -08:00
Markus Lehtonen
03daab9ba1 cloudbuild.yaml: upgrade machine type to n1-highcpu-8
Hopefully speeds up our multi-arch builds.
2022-01-21 10:13:35 +02:00
Kubernetes Prow Robot
60adfe8d9e
Merge pull request #739 from marquiz/devel/gcloud-auth
scripts: configure docker auth in push-image.sh
2022-01-20 23:13:59 -08:00
Kubernetes Prow Robot
174c9176dc
Merge pull request #738 from mnaser/bug/737
Increase timeout in test setups
2022-01-20 21:53:59 -08:00
Markus Lehtonen
33cfd6eaba scripts: configure docker auth in push-image.sh
Re-introduce docker authentication that was dropped in
bac690813a. Should fix issues with
building multi-arch buildx buildx.
2022-01-21 07:36:22 +02:00
Mohammed Naser
cf1bc4a34d Increase timeout in test setups
This patch increases the timeout when setting up the NFD master
to 5 seconds instead of 1 second to allow for running tests in
slow environments.
2022-01-20 18:59:30 -05:00
Kubernetes Prow Robot
f51cdd06b6
Merge pull request #735 from marquiz/devel/cloudbuild-timeout
cloudbuild.yaml: increase timeout to 1h 20min
2022-01-20 13:38:29 -08:00
Markus Lehtonen
5e90343fc9 cloudbuild.yaml: increase timeout to 1h 20min
Fourth timeout increase's the charm.
2022-01-20 22:30:42 +02:00
Kubernetes Prow Robot
f8d83462ea
Merge pull request #734 from marquiz/devel/cloudbuild-timeout
cloudbuild.yaml: increase timeout to 1 hour
2022-01-20 11:09:09 -08:00
Markus Lehtonen
c0235c490e cloudbuild.yaml: increase timeout to 1 hour
Even 40 minutes failed us for multi-arch builds.

Also, increase the e2e-test image polling timeout correspondingly.
2022-01-20 21:02:03 +02:00
Kubernetes Prow Robot
e20f976850
Merge pull request #733 from marquiz/devel/buildx
cloudbuild.yaml: increase timeout to 2400s
2022-01-20 10:23:36 -08:00
Markus Lehtonen
eba3a0ffa4 cloudbuild.yaml: increase timeout to 2400s
20 minutes was not clearly enough for multiarch buildx build.
2022-01-20 20:16:16 +02:00
Kubernetes Prow Robot
a880e29a06
Merge pull request #731 from marquiz/devel/buildx
cloudbuild.yaml: double the timeout
2022-01-20 09:51:36 -08:00
Markus Lehtonen
78e2e7726b cloudbuild.yaml: double the timeout
We hit the timeout with default 600s with multiarch builds enabled.
2022-01-20 19:46:47 +02:00
Kubernetes Prow Robot
19ee3691c9
Merge pull request #730 from marquiz/devel/buildx
cloudbuild.yaml: set HOME to /root
2022-01-20 09:29:36 -08:00
Markus Lehtonen
38d1f1b15d cloudbuild.yaml: set HOME to /root
As per
https://github.com/kubernetes/test-infra/blob/master/config/jobs/image-pushing/README.md
we need that for buildx.
2022-01-20 19:07:25 +02:00
Kubernetes Prow Robot
a00970db9c
Merge pull request #728 from zvonkok/mulit-build-fix
Adding missing target dep
2022-01-20 08:17:51 -08:00
Zvonko Kaiser
8414fe8c07 Adding missing target dep 2022-01-20 17:01:54 +01:00