1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-16 13:28:18 +00:00
Commit graph

2462 commits

Author SHA1 Message Date
Markus Lehtonen
335b305d34 nfd-master: proper shutdown of nfd api informers
Stop blocking on event channels when the api controller is stopped.
Ensures that the nfd API informer factory is properly shut down and all
resources released when stop() is called. This eliminates a memory leak
on re-configure events when leader election is enabled.

(cherry picked from commit 2bb8a72532)
2024-08-20 13:06:12 +03:00
Kubernetes Prow Robot
77fb7be79d
Merge pull request #1826 from marquiz/release-0.16
[release-0.16] Release v0.16.4
2024-08-09 01:21:45 -07:00
Markus Lehtonen
7111356d27 Release v0.16.4 2024-08-09 09:25:29 +03:00
Kubernetes Prow Robot
ca0589dce2
Merge pull request #1830 from k8s-infra-cherrypick-robot/cherry-pick-1829-to-release-0.16
[release-0.16] docs: use jekyll-rtd-theme from a ruby gem
2024-08-08 21:26:17 -07:00
Markus Lehtonen
662db6c326 docs: use jekyll-rtd-theme from a ruby gem
The upstream repo (and the release downloads)
github.com/rundocs/jekyll-rtd-theme has been deleted. This broke our
docs generation as the remote theme configuration depended on
downloading the release artefact.

This patch changes the docs building to use a Ruby gem instead of the
remote theme setting. To complicate matters, the gem has an seemingly
incorrect (too strict) version dependency. To mitigate this, we now
install bundler-override plugin to ignore this particular dependency.

The netlify conf is a hack, but I wasn't able to figure out a way how to
install the bundler-override plugin without doing all ruby
initialization in the build command.
2024-08-08 20:54:43 +00:00
Kubernetes Prow Robot
7c5035019d
Merge pull request #1825 from k8s-infra-cherrypick-robot/cherry-pick-1807-to-release-0.16
[release-0.16] Add helm migration guide
2024-08-05 13:47:17 -07:00
Carlos Eduardo Arango Gutierrez
eca834d540 Add helm migration guide
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-08-05 13:45:44 +00:00
Kubernetes Prow Robot
3b8c576d4f
Merge pull request #1808 from marquiz/release-0.16
[release-0.16] helm: add configurable liveness&readiness probes
2024-07-29 02:46:23 -07:00
Omer Aplatony
21b9b7a94d helm: add configurable liveness&readiness probes for master topology-updater and worker
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
(cherry picked from commit b2222e2c8c)
2024-07-23 16:30:23 +03:00
Kubernetes Prow Robot
92db8689c6
Merge pull request #1805 from marquiz/release-0.16
[release-0.16] go.mod: bump kubernetes to v1.30.3
2024-07-22 03:51:55 -07:00
Markus Lehtonen
c5aac084e8 go.mod: bump kubernetes to v1.30.3 2024-07-22 09:46:48 +03:00
Kubernetes Prow Robot
967fa51f2f
Merge pull request #1799 from marquiz/release-0.16
[release-0.16] Helm: Add revision history limit for worker daemonset (#1797)
2024-07-18 08:57:55 -07:00
Rouke Broersma
7f532809ac Helm: Add revision history limit for worker daemonset (#1797)
* Helm: Add revision history limit for worker daemonset

Signed-off-by: Rouke Broersma <mobrockers@gmail.com>

* Helm: Add revision history limit for topology updater daemonset

Signed-off-by: Rouke Broersma <mobrockers@gmail.com>

* chore: tidy table columns

---------

Signed-off-by: Rouke Broersma <mobrockers@gmail.com>
(cherry picked from commit 1230d607ac)
2024-07-18 16:53:26 +03:00
Kubernetes Prow Robot
6030c974d3
Merge pull request #1787 from marquiz/release-0.16
[release-0.16] Release v0.16.3
2024-07-16 01:40:54 -07:00
Kubernetes Prow Robot
daa2b24516
Merge pull request #1789 from marquiz/backport/0.16
[release-0.16] Add revision history limit for master replica and for garbage collector
2024-07-16 00:59:11 -07:00
Omer Aplatony
59f5c64d43 Add revision history limit for master replica and for garbage collector
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
(cherry picked from commit 920306cba8)
2024-07-16 08:42:34 +03:00
Markus Lehtonen
e8f96a0315 Release v0.16.3 2024-07-12 08:20:24 +03:00
Kubernetes Prow Robot
359cac9656
Merge pull request #1784 from k8s-infra-cherrypick-robot/cherry-pick-1781-to-release-0.16
[release-0.16] fix: take into consideration possibility of having empty line in swap file
2024-07-11 21:58:13 -07:00
TessaIO
e1682771af fix: take into consideration possibility of having empty line in swap file
Signed-off-by: TessaIO <ahmedgrati1999@gmail.com>
2024-07-12 04:40:33 +00:00
Kubernetes Prow Robot
9164842880
Merge pull request #1776 from ArangoGutierrez/v0162
Release v0.16.2
2024-07-10 03:31:51 -07:00
Carlos Eduardo Arango Gutierrez
fbc8b368c3
Release v0.16.2
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-07-10 11:47:06 +02:00
Kubernetes Prow Robot
ff2c1b6cd0
Merge pull request #1771 from k8s-infra-cherrypick-robot/cherry-pick-1755-to-release-0.16
[release-0.16] Use worker DS OwnerReference for NF's
2024-07-09 09:09:02 -07:00
Kubernetes Prow Robot
1cb65d2e60
Merge pull request #1772 from k8s-infra-cherrypick-robot/cherry-pick-1764-to-release-0.16
[release-0.16] docs: describe Kubernetes version compatibility in versions page
2024-07-09 06:44:49 -07:00
Markus Lehtonen
7a97673f89 docs: describe Kubernetes version compatibility in versions page
Bump the required Kubernetes version to v1.24. In practice this is the
minimum Kubernetes version as our deployment (both kustomize and Helm)
depend on the gRPC container probes feature of Kubernetes.
2024-07-09 13:38:45 +00:00
Carlos Eduardo Arango Gutierrez
dd55c9fe78 Add optionable arguments to NewWorker
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-07-09 13:34:24 +00:00
Carlos Eduardo Arango Gutierrez
283caf2d64 Use worker DS OwnerReference for NF's
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-07-09 13:34:24 +00:00
Kubernetes Prow Robot
8988415cd9
Merge pull request #1754 from ArangoGutierrez/0.16.1
Release v0.16.1
2024-07-02 14:37:18 -07:00
Carlos Eduardo Arango Gutierrez
27f4940473
Release v0.16.1
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-07-02 16:15:48 +02:00
Kubernetes Prow Robot
ababb6ca81
Merge pull request #1750 from k8s-infra-cherrypick-robot/cherry-pick-1746-to-release-0.16
[release-0.16] ensure post-delete-job's service account matches ref in job spec
2024-06-28 00:04:27 -07:00
Tariq Ibrahim
d93806e43f ensure post-delete-job's service account matches ref in job spec
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com>
2024-06-27 19:12:23 +00:00
Kubernetes Prow Robot
9f90a59296
Merge pull request #1740 from k8s-infra-cherrypick-robot/cherry-pick-1739-to-release-0.16
[release-0.16] Fix the problem with starting the master with empty cache
2024-06-10 12:04:20 -07:00
IbirbyZh
1a18bcdfae Fix the problem with starting the master with empty cache
We faced the problem when master deleted some of labels on start. Sometimes he doesn't gets NodeFeatures when they are present in cluster because of empty cache in informer
2024-06-10 18:43:01 +00:00
Kubernetes Prow Robot
33c3e39cd6
Merge pull request #1736 from k8s-infra-cherrypick-robot/cherry-pick-1728-to-release-0.16
[release-0.16] helm: remove defaults CPU limits
2024-06-07 01:23:01 -07:00
budimanjojo
c296eda0e4 helm: remove defaults CPU limits
Signed-off-by: budimanjojo <budimanjojo@gmail.com>
2024-06-07 08:13:47 +00:00
Kubernetes Prow Robot
00f510b623
Merge pull request #1731 from k8s-infra-cherrypick-robot/cherry-pick-1729-to-release-0.16
[release-0.16] topology-updater: properly handle IPv6 from NODE_ADDRESS
2024-06-04 06:07:29 -07:00
Markus Lehtonen
a41d0acfe7 topology-updater: properly handle IPv6 from NODE_ADDRESS
Fix the usage of IPv6 addresses for default kubelet configz endpoint.

The default host:port we use for kubelet configz endpoint is
${NODE_ADDRESS}:10250. Previously we errored out if NODE_ADDRESS was an
IPv6 address because we used an incorrect notation (without brackets).
The (IPv6) needs to be enclosed in brackets if specifying the port.
2024-06-04 11:42:07 +00:00
Kubernetes Prow Robot
ad7ec5abdb
Merge pull request #1721 from k8s-infra-cherrypick-robot/cherry-pick-1720-to-release-0.16
[release-0.16] Revert "build(deps): bump actions/checkout from 1 to 4"
2024-05-27 11:26:39 -07:00
Markus Lehtonen
9bc2191c7b Revert "build(deps): bump actions/checkout from 1 to 4"
Checkout v4 does some strange mangling of tags, basically overwrites our
signed/annotated tag with something like:

  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune \
    --no-recurse-submodules origin \
    +2e93c3fd478b6631dd7bda9c6ec66a9f99cafaa8:refs/tags/v0.16.0

Which breaks our gh-pages build on release branches/tags.

This reverts commit 130ef1070d.
2024-05-27 18:07:58 +00:00
Kubernetes Prow Robot
2e93c3fd47
Merge pull request #1719 from marquiz/release-0.16
[release-0.16] Prepare v0.16
2024-05-27 07:31:38 -07:00
Markus Lehtonen
b98668ce22 Prepare v0.16
Generated with:

    ./hack/prepare-release.sh -g 1.22.3 v0.16.0
2024-05-27 15:16:59 +03:00
Kubernetes Prow Robot
cdf94eb599
Merge pull request #1718 from marquiz/devel/nfg-docs
docs: add more cross-references to NodeFeatureGroup API
2024-05-27 03:56:06 -07:00
Markus Lehtonen
bec9297fe7 docs: add more cross-references to NodeFeatureGroup API 2024-05-27 13:41:15 +03:00
Kubernetes Prow Robot
dc52c507e7
Merge pull request #1717 from kubernetes-sigs/dependabot/go_modules/master/github.com/onsi/ginkgo/v2-2.19.0
build(deps): bump github.com/onsi/ginkgo/v2 from 2.17.3 to 2.19.0
2024-05-27 00:20:50 -07:00
dependabot[bot]
00a0552b14
build(deps): bump github.com/onsi/ginkgo/v2 from 2.17.3 to 2.19.0
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.17.3 to 2.19.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.17.3...v2.19.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-26 09:39:17 +00:00
Kubernetes Prow Robot
28079efacb
Merge pull request #1716 from marquiz/devel/docs-helm-feature-gates
docs/helm: document all feature gates
2024-05-24 06:17:10 -07:00
Markus Lehtonen
28c852c9bd docs/helm: document all feature gates
Also, small correction to the description of the
featureGates.NodeFeatureAPI parameter.
2024-05-24 16:02:31 +03:00
Kubernetes Prow Robot
4136a69545
Merge pull request #1715 from marquiz/devel/avx10-deprecate
source/cpu: disable AVX10 label
2024-05-24 04:53:59 -07:00
Kubernetes Prow Robot
891d163990
Merge pull request #1673 from marquiz/devel/avx10
cpu: advertise AVX10 version
2024-05-24 04:20:14 -07:00
Markus Lehtonen
ece6076dd4 source/cpu: disable AVX10 label
Disable AVX10 as unnecessary as AVX10_LEVEL is better suited for
checking AVX10 compatibility. There is not yet any hardware with the
feature so disabling it shouldn't cause problems for users.
2024-05-24 13:50:46 +03:00
Markus Lehtonen
fa2f008d18 cpu: advertise AVX10 version
Add new cpuid label "feature.node.kubernetes.io/cpu-cpuid.AVX10_VERSION"
that advertises the supported version of AVX10 vector ISA.
Correspondingly, the patch adds AVX10_VERSION to the "cpu.cpuid" feature
for NodeFeatureRules to consume.

This makes cpu.cpuid on amd64 architecture a "multi-type" feature in
that it contains "flags" and potentially also "attributes" (the only
cpuid attribute so far is the AVX10_VERSION).
2024-05-24 13:48:20 +03:00