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
Markus Lehtonen
8c0e38d0c5
docs: fix typo in CRD name
2022-12-21 13:42:10 +02:00
Kubernetes Prow Robot
6fb444cd84
Merge pull request #1009 from marquiz/documentation/nodefeature
...
docs: mention NodeFeature as an extension point
2022-12-21 03:35:28 -08:00
Markus Lehtonen
b91922746a
docs: mention NodeFeature as an extension point
...
In the CRD intro, mention that NodeFeature can be used as an integration
point for 3rd party extensions.
2022-12-21 13:26:31 +02:00
Kubernetes Prow Robot
e50839e950
Merge pull request #1008 from marquiz/devel/release-template
...
github: update new-release issue template
2022-12-21 00:29:25 -08:00
Markus Lehtonen
30e7c24795
github: update new-release issue template
...
Add instructions about creating prow jobs for new release branches.
2022-12-21 10:24:48 +02:00
Kubernetes Prow Robot
921316a4c2
Merge pull request #1006 from marquiz/documentation/deployment
...
docs: better document differences between deployment methods
2022-12-20 11:17:20 -08:00
Markus Lehtonen
27c47bd088
docs: better document differences between deployment methods
2022-12-20 16:29:48 +02:00
Kubernetes Prow Robot
c551a9a89b
Merge pull request #1005 from marquiz/devel/e2e-lint
...
Simplify usage of ObjectMeta fields
2022-12-19 08:01:45 -08:00
Markus Lehtonen
f5ae3fe2c7
Simplify usage of ObjectMeta fields
...
No need to explicitly spell out ObjectMeta as it's embedded in the
object types.
2022-12-19 17:40:10 +02:00
Kubernetes Prow Robot
e2296998d6
Merge pull request #1001 from marquiz/devel/e2e-nodefeature
...
test/e2e: add basic e2e-tests for NodeFeature API
2022-12-19 07:19:44 -08:00
Markus Lehtonen
b67d6d7282
test/e2e: add basic e2e-tests for NodeFeature API
...
Add an initial test set for the NodeFeature API. This is done simply by
running a second pass of the tests but with -enable-nodefeature-api
(i.e. NodeFeature API enabled and gRPC disabled). This should give basic
confidence that the API actually works and form a basis for further
imporovements on testing the new CRD API.
2022-12-19 16:58:21 +02:00
Markus Lehtonen
958db56680
test/e2e: isolate tests into a separate function
...
Preparation for running the same tests with NodeFeature API enabled
(instead of gRPC).
2022-12-19 14:08:05 +02:00
Kubernetes Prow Robot
e684197634
Merge pull request #932 from fmuyassarov/e2e-taints
...
Add E2E test for NFD tainting feature
2022-12-19 03:59:45 -08:00
Feruzjon Muyassarov
3e29f5c5df
Add nfd E2E tests for tainting feature
...
Extend current E2E tests to check tainting feature of nfd implemented
in https://github.com/kubernetes-sigs/node-feature-discovery/pull/910
Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@intel.com>
2022-12-19 13:39:03 +02:00
Kubernetes Prow Robot
4635b99832
Merge pull request #1003 from marquiz/devel/e2e-host-usr-src
...
test/e2e: drop host-usr-src mount
2022-12-19 02:35:45 -08:00
Kubernetes Prow Robot
28a5daa338
Merge pull request #999 from marquiz/fixes/nodefeature-missing
...
nfd-master: update node if no NodeFeature objects are present
2022-12-19 00:39:44 -08:00
Markus Lehtonen
4c955ad72c
nfd-master: update node if no NodeFeature objects are present
...
Correctly handle the case where no NodeFeature objects exist for certain
node (and NodeFeature API has been enabled with
-enable-nodefeature-api). In this case all the labels should be removed.
2022-12-19 10:22:04 +02:00
Kubernetes Prow Robot
c250a8bea8
Merge pull request #1004 from marquiz/fixes/e2e
...
test/e2e: don't expect control-plane nodes to be labeled
2022-12-17 00:11:41 -08:00
Markus Lehtonen
51f4c5447b
test/e2e: don't expect control-plane nodes to be labeled
...
Without this e2e tests may fail in clusters with control-plane-only
nodes.
2022-12-16 22:56:19 +02:00
Kubernetes Prow Robot
941a55ae0b
Merge pull request #998 from marquiz/fixes/nodefeature-crd-startup
...
nfd-master: update all nodes at startup when NodeFeature API enabled
2022-12-16 05:06:20 -08:00