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

1688 commits

Author SHA1 Message Date
Jose Luis Ojosnegros Manchón
1a687cb286 topology-updater: Refactor Scan to expand response
We are gonna add new data to Scan response so better introduce a new
ScanResponse struct as Scan return value to make it easier.
2023-02-22 09:56:28 +01:00
Markus Lehtonen
adf79d5e38 test/e2e: rename ginkgo focus for tests
Make it easier to only run tests for nfd master/worker and skip
topology-updater tests.
2023-02-21 13:37:25 +02:00
Kubernetes Prow Robot
69440d7820
Merge pull request #1062 from yanggangtony/fix-doc
docs: describe nfd-topology-gc in introduction.md
2023-02-21 02:17:48 -08:00
Kubernetes Prow Robot
d88b39d56d
Merge pull request #1064 from fmuyassarov/cpuid-2.2.4
go.mod: bump cpuid to v2.2.4
2023-02-21 00:47:49 -08:00
Muyassarov, Feruzjon
0e2f2c4587 go.mod: bump cpuid to v2.2.4
Bump cpuid version to v2.2.4 in the go.mod so that WRMSRNS (
Non-Serializing Write to Model Specific Register) and MSRLIST
(Read/Write List of Model Specific Registers) instructions are
detectable.

Signed-off-by: Muyassarov, Feruzjon <feruzjon.muyassarov@intel.com>
2023-02-20 22:58:59 +02:00
Kubernetes Prow Robot
6235de0646
Merge pull request #1063 from marquiz/fixes/darwin-arm64
source/cpu: fix build flags of cpuid detection
2023-02-20 01:43:40 -08:00
yanggang
150d4f4db2
docs: describe nfd-topology-gc in introduction.md
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-02-18 06:12:35 +08:00
Markus Lehtonen
52fcf0b0e9 source/cpu: fix build flags of cpuid detection
Non-x86_64 platforms are virtually only buildable on Linux because the
getauxval() glibc function is missing on many platforms.
2023-02-17 21:46:05 +02:00
Kubernetes Prow Robot
f3402b9c9b
Merge pull request #1059 from ArangoGutierrez/go1-20
GO Update version to 1.20
2023-02-16 10:03:39 -08:00
Kubernetes Prow Robot
c007c9eccf
Merge pull request #1061 from marquiz/devel/golang-ci-lint
scripts/test-infra: bump golangci-lint to v1.51.1
2023-02-16 09:41:39 -08:00
Markus Lehtonen
cc57fa6a93 test/e2e: drop deprecated rand.Seed()
Just drop it, bump to golang v1.20 will cause the generator to be
automatically seeded at program startup:

https://pkg.go.dev/math/rand@go1.20#Seed
2023-02-16 19:22:35 +02:00
Markus Lehtonen
1b8ab4b862 scripts/test-infra: bump golangci-lint to v1.51.1
Update to the latest release.
2023-02-16 19:04:12 +02:00
Kubernetes Prow Robot
d1eb3c567e
Merge pull request #1058 from fenggw-fnst/typo
Fix some typos
2023-02-16 03:05:39 -08:00
Guangwen Feng
8ad6c5b425 Fix some typos
Signed-off-by: Guangwen Feng <fenggw-fnst@fujitsu.com>
2023-02-16 22:08:00 +08:00
Carlos Eduardo Arango Gutierrez
2859d55f9a
GO Update version to 1.20
This patch
- Bumps GO to 1.20
- Updates deps by running "go mod tidy"

Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2023-02-16 10:36:38 +01:00
Kubernetes Prow Robot
a92614c292
Merge pull request #1051 from AhmedGrati/feat-add-deny-label-ns-with-wildcard
feat: add deny-label-ns flag which supports wildcard
2023-02-15 03:42:25 -08:00
Kubernetes Prow Robot
38cc370e69
Merge pull request #1054 from PiotrProkop/use-new-nrt-api
Advertise TopologyManger policy and scope as Attributes in NRT api v1alpha2
2023-02-15 01:12:25 -08:00
AhmedGrati
b499799364 feat: add deny-label-ns flag which supports wildcard
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-02-15 09:47:00 +01:00
PiotrProkop
f76fc5bf6b Read Kubelet configuration the same way as Kubelet to apply default values
Signed-off-by: PiotrProkop <pprokop@nvidia.com>
2023-02-15 09:27:25 +01:00
Kubernetes Prow Robot
22b1bb7b62
Merge pull request #1056 from jjacobelli/change-gh-username
OWNERS: Update Ethyling username to jjacobelli
2023-02-14 01:47:31 -08:00
Kubernetes Prow Robot
f4c6d59b26
Merge pull request #1055 from VillePihlava/discovery-duration-logging
Add discovery duration logging
2023-02-13 06:29:29 -08:00
Ville Pihlava
b1c6b229fe Add discovery duration logging. 2023-02-13 12:55:57 +02:00
Jordan Jacobelli
bf43f5be70 OWNERS: Update Ethyling username to jjacobelli
Signed-off-by: Jordan Jacobelli <jjacobelli@nvidia.com>
2023-02-13 09:43:40 +01:00
Kubernetes Prow Robot
e3b9184354
Merge pull request #1027 from marquiz/devel/image-full
images: base the default image on distroless/base
2023-02-10 08:07:30 -08:00
pprokop
b51e34d84c Modify e2e tests to check if Topology Manager policy and scope are advertise as Attributes
Signed-off-by: pprokop <pprokop@nvidia.com>
2023-02-10 12:03:16 +01:00
pprokop
5484babcb1 Advertise TopologyManger policy and scope as Attributes
Signed-off-by: pprokop <pprokop@nvidia.com>
2023-02-10 12:03:11 +01:00
Kubernetes Prow Robot
ac271b3c29
Merge pull request #1050 from VillePihlava/interval-fix
Change nfd-worker to use Ticker instead of After.
2023-02-09 07:54:22 -08:00
Ville Pihlava
2101cb20e4 Change nfd-worker to use Ticker instead of After. 2023-02-09 17:14:39 +02:00
Kubernetes Prow Robot
1084ce8b1d
Merge pull request #1053 from jlojosnegros/nrt-api-update-v1alpha2
topology-updater: nrt-api Update to v1alpha2
2023-02-09 05:54:24 -08:00
Jose Luis Ojosnegros Manchón
2967f3307a nrt-api: move from v1alpha1 to v1alpha2 2023-02-09 12:29:54 +01:00
Jose Luis Ojosnegros Manchón
d1d1eda0d2 nrt-api: Update to v0.1.0 to use v1alpha2 2023-02-09 12:03:18 +01:00
Kubernetes Prow Robot
94ab0ddd3d
Merge pull request #1045 from AhmedGrati/feat-disable-service-links-nfd-master
deployment: disable service links in NFD master pod
2023-02-06 08:55:01 -08:00
Kubernetes Prow Robot
7ca2353250
Merge pull request #1047 from fmuyassarov/decouple-unit-test
test: move out unit testing from Dockerfile
2023-02-03 02:02:31 -08:00
Kubernetes Prow Robot
8df1790de7
Merge pull request #1044 from AhmedGrati/feat-make-master-port-dynamic
helm: make master port configurable
2023-02-02 22:52:31 -08:00
Muyassarov, Feruzjon
ae25d5319b test: move out unit testing from Dockerfile
Move out running unit tests as part of container image building and
instead add it into verify.sh script which runs linter, formatter
and other checks.

Signed-off-by: Muyassarov, Feruzjon <feruzjon.muyassarov@intel.com>
2023-02-02 01:00:32 +02:00
AhmedGrati
07d5ffe4b8 helm: make master port configurable
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-02-01 10:03:06 +01:00
Markus Lehtonen
cd62f6566f images: base the default image on distroless/base
Make distroless/base as the base image for the default image,
effectively making the minimal image as the default. Add a new "full"
image variant that corresponds the previous default image. The
"*-minimal" container image tag is provided for backwards compatibility.

The practical user impact of this change is that hook support is limited
to statically linked ELF binaries. Bash or Perl scripts are not
supported by the default image, anymore, but the new "full" image
variant can be used for backwards compatibility.
2023-01-31 11:30:38 +02:00
AhmedGrati
743c877ad8 deployment: disable service links in NFD master pod
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-01-27 16:55:18 +01:00
Kubernetes Prow Robot
1aa76029ac
Merge pull request #1042 from marquiz/devel/readme
README: update to release v0.12.1
2023-01-18 07:28:35 -08:00
Markus Lehtonen
e22dc3d2c3 README: update to release v0.12.1 2023-01-18 17:16:30 +02:00
Kubernetes Prow Robot
23eb33748b
Merge pull request #956 from Chandan-Abhyankar/nx-gzip-support
cpu: support for detecting nx-gzip coprocessor feature
2023-01-18 00:06:35 -08:00
Chandan Abhyankar
d66096a491 cpu: support for detecting nx-gzip coprocessor feature
Nest accelerator gzip support for IBM Power systems.

Signed-off-by: Chandan Abhyankar <Chandan.Abhyankar@ibm.com>
2023-01-17 23:18:16 -08:00
Kubernetes Prow Robot
080105c772
Merge pull request #1040 from ArangoGutierrez/docs_helm_fix
docs: Fix link for Helm docs
2023-01-17 07:04:35 -08:00
Carlos Eduardo Arango Gutierrez
1c095f5e8e
docs: Fix link for Helm docs 2023-01-17 15:23:30 +01:00
Kubernetes Prow Robot
2bbdbf1bf1
Merge pull request #1030 from hirenp/hirenp/nfd_readme_typo_fix
docs: fix internal cross-page references by injecting .md
2023-01-17 00:36:35 -08:00
Hiren Panchasara
bfbc47f55e docs: fix internal cross-page references by injecting .md 2023-01-16 20:53:36 -08:00
Kubernetes Prow Robot
2068fcdad8
Merge pull request #1034 from ArangoGutierrez/issue-1032
nfd-master: always start gRPC server
2023-01-16 13:10:10 -08:00
Carlos Eduardo Arango Gutierrez
9b3171bce2
nfd-master: always start gRPC server
Don't register gRPC LabelServer when using the NodeFeature option, only
turn the gRPC server on for Health and Readiness probes.
2023-01-16 19:33:15 +01:00
Kubernetes Prow Robot
497e6c7b25
Merge pull request #1028 from k8stopologyawareschedwg/docker_image_init
e2e: init docker image
2023-01-11 09:25:45 -08:00
Talor Itzhak
97ca4deabc e2e: init docker image
The docker image that used during e2e test
composed of repo and tag flags that are
passed to the test itself.

The problem is that the docker image initialized
before the flags are parsed. Hence, it will always contains
the default flags value.
Moving the variable into a separate function, fixing the issue.

Also, moving the global variables to `e2e_test.go` since
it commonly used by all tests.

Signed-off-by: Talor Itzhak <titzhak@redhat.com>
2023-01-11 16:44:40 +02:00