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

1608 commits

Author SHA1 Message Date
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
Kubernetes Prow Robot
677783ee05
Merge pull request #1029 from k8stopologyawareschedwg/rename_test_files
e2e: append `_test` suffix to test files
2023-01-11 04:41:45 -08:00
Talor Itzhak
d8981f892e e2e: append _test suffix to test files
This PR is a result of conversation started here:
https://github.com/kubernetes-sigs/node-feature-discovery/pull/1028#issuecomment-1378634404

Signed-off-by: Talor Itzhak <titzhak@redhat.com>
2023-01-11 14:15:45 +02:00
Kubernetes Prow Robot
ea921a8b14
Merge pull request #1024 from PiotrProkop/nrt-garbage-collector
Add NRT garbage collector
2023-01-11 01:59:44 -08:00
PiotrProkop
3143faf0ab Add documentation for topology garbage collector
Signed-off-by: PiotrProkop <pprokop@nvidia.com>
2023-01-11 10:15:38 +01:00
PiotrProkop
59afae50ba Add NodeResourceTopology garbage collector
NodeResourceTopology(aka NRT) custom resource is used to enable NUMA aware Scheduling in Kubernetes.
As of now node-feature-discovery daemons are used to advertise those
resources but there is no service responsible for removing obsolete
objects(without corresponding Kubernetes node).

This patch adds new daemon called nfd-topology-gc which removes old
NRTs.

Signed-off-by: PiotrProkop <pprokop@nvidia.com>
2023-01-11 10:15:21 +01:00
Kubernetes Prow Robot
30d095204b
Merge pull request #1026 from PiotrProkop/add-missing-policies
Add missing TopologyManagerPolicy
2023-01-09 08:09:29 -08:00
PiotrProkop
1bae2867e2 Release v0.0.13 of NodeResourceTopology API added missing TopologyManagerPolicy.
Expose new policies:
* RestrictedContainerLevel
* RestrictedPodLevel
* BestEffortContainerLevel
* BestEffortPodLevel

Signed-off-by: PiotrProkop <pprokop@nvidia.com>
2023-01-09 16:02:12 +01:00
PiotrProkop
9356efe811 Upgrade github.com/k8stopologyawareschedwg/noderesourcetopology-api to v0.0.13
Signed-off-by: PiotrProkop <pprokop@nvidia.com>
2023-01-09 13:15:59 +01:00
Kubernetes Prow Robot
d0969ae7c8
Merge pull request #1016 from marquiz/devel/e2e-nodefeature
test/e2e: more comprehensive test for NodeFeature objects
2023-01-04 00:33:59 -08:00
Markus Lehtonen
099f52ca36 test/e2e: more comprehensive test for NodeFeature objects
Test creation of multiple NodeFeature objects per node, mocking 3rd
party extensions.
2023-01-03 17:50:48 +02:00
Kubernetes Prow Robot
0159ab04e7
Merge pull request #1021 from fmuyassarov/docs-taint
Docs: mention tainting in the intro section
2023-01-02 02:19:30 -08:00
Kubernetes Prow Robot
79cd4fc094
Merge pull request #1023 from fmuyassarov/sfr-support
Bump cpuid to v2.2.3
2023-01-02 01:27:31 -08:00
Muyassarov, Feruzjon
d9dc4b09d5 Bump cpuid to v2.2.3
Bump cpuid to v2.2.3 which adds support for detecting Intel Sierra
Forest instructions like AVXIFMA, AVXNECONVERT, AVXVNNIINT8 and
CMPCCXADD.
Signed-off-by: Muyassarov, Feruzjon <feruzjon.muyassarov@intel.com>
2022-12-30 11:42:05 +02:00
Muyassarov, Feruzjon
842153a907 Docs: mention tainting in the intro section
Signed-off-by: Muyassarov, Feruzjon <feruzjon.muyassarov@intel.com>
2022-12-28 14:00:04 +02:00
Kubernetes Prow Robot
8eb6640754
Merge pull request #1020 from marquiz/devel/worker-refactor
worker: move code
2022-12-27 00:45:34 -08:00
Kubernetes Prow Robot
e97b2c1579
Merge pull request #1017 from marquiz/devel/nfd-api-optional-fields
apis/nfd: make all fields in NodeFeatureSpec optional
2022-12-27 00:45:28 -08:00
Kubernetes Prow Robot
070dd3d727
Merge pull request #1019 from marquiz/devel/topology-updater-refactor
topology-updater: move code
2022-12-25 13:09:27 -08:00
Markus Lehtonen
1026d91d12 worker: move code
Simplify code bu dropping the unnecessary base client package.
2022-12-23 11:38:21 +02:00
Markus Lehtonen
0283f68702 topology-updater: move code
Move and rename the Go package. It has nothing to do with NFD gRPC
client anymore so move it out of the nfd-client package.
2022-12-23 11:37:46 +02:00
Kubernetes Prow Robot
d97297ee8c
Merge pull request #1018 from marquiz/devel/nodename-refactor
Add common utility function for getting node name
2022-12-23 01:21:26 -08:00
Markus Lehtonen
aa97105854 Add common utility function for getting node name 2022-12-23 09:50:15 +02:00
Markus Lehtonen
dfda9bccad apis/nfd: update auto-generated code 2022-12-22 17:58:20 +02:00
Markus Lehtonen
a4fc15a424 apis/nfd: make all fields in NodeFeatureSpec optional
Don't require features to be specified. The creator possibly only wants
to create labels or only some types of features. No need to specify
empty structs for the unused fields.
2022-12-22 17:53:42 +02:00
Kubernetes Prow Robot
7b94c8bd38
Merge pull request #1015 from marquiz/devel/grpc-probe
dockerfile: update grpc-health-probe to v0.4.14
2022-12-21 12:27:25 -08:00
Markus Lehtonen
fe0d706c8b dockerfile: update grpc-health-probe to v0.4.14 2022-12-21 20:28:13 +02:00
Kubernetes Prow Robot
c2e42994b8
Merge pull request #1014 from marquiz/devel/readme
README: update to latest release v0.12.0
2022-12-21 09:11:27 -08:00
Markus Lehtonen
1938f9fd87 README: update to latest release v0.12.0 2022-12-21 16:10:14 +02:00
Kubernetes Prow Robot
8321ea3b67
Merge pull request #1013 from marquiz/devel/helm-args
Use single-dash format for nfd cmdline flags
2022-12-21 05:55:25 -08:00
Markus Lehtonen
59a2757115 Use single-dash format for nfd cmdline flags
Use the "single-dash" version of nfd command line flags in deployment
files and e2e-tests. No impact in functionality, just aligns with
documentation and other parts of the codebase.
2022-12-21 15:00:49 +02:00
Kubernetes Prow Robot
14d0e67ee0
Merge pull request #1011 from marquiz/fixes/docs
docs: fix typo in CRD name
2022-12-21 03:47:25 -08:00