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

1049 commits

Author SHA1 Message Date
Kubernetes Prow Robot
54b5e43b2c
Merge pull request #643 from marquiz/devel/e2e-single-node
test/e2e: make e2e tests run on single-node cluster
2021-11-10 11:07:27 -08:00
Markus Lehtonen
261ab113bf test/e2e: drop /boot mount
This is not currently needed by end-to-end tests. Dropping it enables
testing in restricted environments that don't have /boot directory.
2021-11-10 20:58:25 +02:00
Markus Lehtonen
0161bd5ca4 test/e2e: make e2e tests run on single-node cluster
Lift the restriction to run custom rule tests on non-master node. Try to
find one but do not fail if that fails. Makes the end-to-end tests
runnable on single-node clusters such a simple minikube deployments.
2021-11-10 20:33:55 +02:00
Kubernetes Prow Robot
d957a9e4fb
Merge pull request #642 from marquiz/devel/feature-api
pkg/api/feature: small improvements
2021-11-09 05:39:47 -08:00
Markus Lehtonen
9bff4b3185 pkg/api/feature: generator functions with initial values
Flavor the generator helper functions with arguments for specifying the
set of features to put into the generated objects.
2021-11-09 13:40:35 +02:00
Markus Lehtonen
5de4d8857c pkg/api/feature: use pointers of structs
Make it easier to mutate the feature sets.
2021-11-09 12:15:38 +02:00
Kubernetes Prow Robot
30f641847e
Merge pull request #641 from marquiz/fixes/typo
pkg/resourcemonitor: fix typo in comment
2021-11-05 08:07:53 -07:00
Markus Lehtonen
25711799f3 pkg/resourcemonitor: fix typo in comment 2021-11-05 16:42:49 +02:00
Kubernetes Prow Robot
376174ff41
Merge pull request #593 from cynepco3hahue/from_swatisehgal_add_memory_information_under_resource
resourcemonitor: aggregate and provide the memory and hugepages information
2021-11-05 07:27:52 -07:00
Artyom Lukianov
45062754fd resourcemonitor: aggregate and provide the memory and hugepages information
The Kuberenetes pod resource API now exposing the memory and hugepages information
for guaranteed pods. We can use this information to update NodeResourceTopology
resource with memory and hugepages data.

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-11-04 10:17:10 +02:00
Artyom Lukianov
a93b660f7c utils: add methods to fetch NUMA nodes hugepages and memory capacity
The methods are used during calculation of reserved memory for system workloads.
The calcualation is `resourceCapacity - resourceAllocatable`.

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-11-04 10:14:51 +02:00
Elias Koromilas
e22b937391 Implicitly generate the worker ConfigMap name
Signed-off-by: Elias Koromilas <elias.koromilas@gmail.com>
2021-11-03 11:21:58 +02:00
Kubernetes Prow Robot
347b16daea
Merge pull request #526 from k8stopologyawareschedwg/topology-updater-documentation
Documentation capturing enablement of NFD-Topology-Updater in NFD
2021-10-29 04:54:50 -07:00
Swati Sehgal
ab62172a8d Documentation capturing enablement of NFD-Topology-Updater in NFD
Prior to this feature, NFD consisted of only software components namely
nfd-master and nfd-worker. We have introduced another software component
called nfd-topology-updater.

NFD-Topology-Updater is a daemon responsible for examining allocated resources
on a worker node to account for allocatable resources on a per-zone basis (where
a zone can be a NUMA node). It then communicates the information to nfd-master
which does the CRD creation corresponding to all the nodes in the cluster. One
instance of nfd-topology-updater is supposed to be running on each node of the
cluster.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2021-10-29 10:14:38 +01:00
Kubernetes Prow Robot
3e9c13a858
Merge pull request #635 from marquiz/documentation/kubectl
docs: mention minimum required kubectl version
2021-10-26 08:27:30 -07:00
Markus Lehtonen
9e9ff951b2 docs: mention minimum required kubectl version
Kubectl prior to v1.21 contains too old version of kustomize for our
(kustomize-based) deployment to work.
2021-10-26 18:01:25 +03:00
Kubernetes Prow Robot
661d326458
Merge pull request #623 from zwpaper/master
deployment: add topology updater helm chart
2021-10-25 23:39:32 -07:00
Wei Zhang
158a5590ab deployment: add topology updater helm chart
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2021-10-26 10:52:40 +08:00
Elias Koromilas
c17a898c4c
deployment: Simplify NFD worker configuration in Helm (#627)
* Simplify NFD worker service configuration in Helm

Signed-off-by: Elias Koromilas <elias.koromilas@gmail.com>

* Update docs/get-started/deployment-and-usage.md

Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>

Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>
2021-10-25 09:34:23 -07:00
Kubernetes Prow Robot
83f69e3f92
Merge pull request #632 from marquiz/devel/gofmt
Makefile: let gofmt-verify write changes back to files
2021-10-22 06:14:37 -07:00
Kubernetes Prow Robot
d3d98d86ef
Merge pull request #631 from marquiz/fixes/gofmt
source: fix gofmt errors
2021-10-22 04:34:37 -07:00
Markus Lehtonen
5c0d98e07a Makefile: let gofmt-verify write changes back to files
Let gofmt write the result (suggested changes) back to the source files,
instead of just printing out the diff. Reduces manual work.
2021-10-22 12:03:24 +03:00
Markus Lehtonen
4cfb3203f6 source: fix gofmt errors
The tool got pickier with golang v1.17.
2021-10-22 12:01:31 +03:00
Kubernetes Prow Robot
bf8a1a217a
Merge pull request #629 from marquiz/devel/go-117
Bump to golang v1.17
2021-10-21 04:32:10 -07:00
Markus Lehtonen
9d1eea243b Bump to golang v1.17 2021-10-21 14:16:55 +03:00
Kubernetes Prow Robot
f46b4e0e03
Merge pull request #628 from marquiz/devel/helm-fix
deployment/helm: don't force sleep-interval in  worker cmdline flags
2021-10-21 01:54:09 -07:00
Markus Lehtonen
890d9455f1 deployment/helm: don't force sleep-interval in worker cmdline flags
Drop --sleep-interval from the template. We really don't want to do that
as. First, it's the default value so no use repeating that in the
template. And more importantly, the commandline flag will override
anything that will be provided in the worker config file, making it
impossible for users to specify the sleep interval (other than by
editing the template directly).
2021-10-21 11:33:19 +03:00
Kubernetes Prow Robot
93a0a9f14a
Merge pull request #624 from marquiz/docs/jekyll-theme
docs: update dependencies
2021-10-19 07:11:03 -07:00
Kubernetes Prow Robot
6f0948efc5
Merge pull request #625 from Tal-or/fix_klog
topology-updater:fix klog initialization
2021-10-12 03:19:47 -07:00
Talor Itzhak
674720e922 topology-updater:fix klog initialization
We should use the same flag set for both program and klog arguments.
Otherwise we won't be able to provide klog flags properly

Signed-off-by: Talor Itzhak <titzhak@redhat.com>
2021-10-11 21:36:54 +03:00
Markus Lehtonen
d65d6ab2f4 docs: update ruby deps 2021-10-11 11:27:16 +03:00
Markus Lehtonen
f8bacd9097 docs: update jekyll-rdt-theme to v2.0.10
Update jekyll-rdt-theme to the latest released version. Also sync site
customization (docs/_includes) with that.
2021-10-11 11:26:37 +03:00
Markus Lehtonen
e342076a5e deployment: clean up base/topologyupdater-daemonset
The base should really have the very bare minimum. Remove all redundant
(at default-value) args and move the others to the specific
topologyupdater kustomize component. This also makes these settings
re-usable in user-specific overlays (that are not based on
topologyupdater-daemonset).
2021-10-06 21:42:31 +03:00
Kubernetes Prow Robot
06e7a784f3
Merge pull request #622 from zwpaper/master
drop the topology updater job
2021-10-06 06:54:34 -07:00
Wei Zhang
4b1e9d7211
deployment: drop the topology updater job 2021-10-06 10:28:37 +08:00
Kubernetes Prow Robot
b445c11589
Merge pull request #607 from marquiz/devel/deployment
deployment: align topologyupdater overlays
2021-10-05 03:07:09 -07:00
Kubernetes Prow Robot
7b8e7f0806
Merge pull request #610 from marquiz/documentation/toc-fix
docs: fix TOCs
2021-10-04 06:33:08 -07:00
Kubernetes Prow Robot
a7bda36df5
Merge pull request #615 from marquiz/devel/ci-lint
scripts/test-infra: bump golangci-lint to v1.42.1
2021-10-04 06:13:07 -07:00
Markus Lehtonen
0b386981a6 pkg/nfd-master: fix linter errors in tests 2021-10-04 09:51:38 +03:00
Markus Lehtonen
f1f79575fe scripts/test-infra: bump golangci-lint to v1.42.1 2021-10-04 09:43:21 +03:00
Markus Lehtonen
819f333118 docs: fix TOCs
Make table of contents in the pages cleaner and more readable by
dropping the main heading (H1 level) from TOCs. This was the original
intention with the usage of "no_toc" kramdown magic, which was broken,
however. The kramdown class magic needs to be specified on the line
immediately following the headinds, otherwise it has no effect. We need
to disable MD022 rule of mdlint as it does not understand this magic.
2021-09-30 10:26:25 +03:00
Markus Lehtonen
1e85001a5f deployment: align topologyupdater overlays
Align "topologyupdater" overlay with "topologyupdater-job". Both should
deploy topologyupdater as a standalone application. Previously the
topologyupdater overlay did not deploy nfd-master at all (but deployed
nfd-worker instead) causing the pods to end up in crashloopbackoff as
there was no master to communicate with.
2021-09-30 10:22:24 +03:00
Kubernetes Prow Robot
d76af7dca3
Merge pull request #613 from krishna2603/patch-1
Update developer-guide.md
2021-09-29 13:09:21 -07:00
Kubernetes Prow Robot
c9fe0d77f5
Merge pull request #609 from marquiz/devel/deployment-rename
deployment: fix typo in overlay name
2021-09-29 12:35:20 -07:00
krishna2603
dbb99c6f18
Update developer-guide.md
changed exapmle to example
2021-09-29 23:58:27 +05:30
Kubernetes Prow Robot
f5efca2dbb
Merge pull request #611 from marquiz/documentation/wip-note
docs: remote wip note from worker configuration reference
2021-09-28 06:18:43 -07:00
Markus Lehtonen
89d0f4ff3c docs: remote wip note from worker configuration reference
All configuration options are documented.
2021-09-27 15:37:50 +03:00
Markus Lehtonen
d2751102ef deployment: fix typo in overlay name
Rename topologupdater-job to topologyupdater-job.
2021-09-24 22:04:35 +03:00
Kubernetes Prow Robot
ccf5feecfb
Merge pull request #606 from dagrayvid/parseOSRelease-trim-single-quotes
Trim single quotes in parseOSRelease
2021-09-23 05:09:22 -07:00
David Gray
3d9b18b087 Trim single quotes in parseOSRelease
Signed-off-by: David Gray <dagray@redhat.com>
2021-09-22 15:04:44 -04:00