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

2454 commits

Author SHA1 Message Date
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
Kubernetes Prow Robot
814255b7f1
Merge pull request #1671 from marquiz/devel/nfd-api-multi-type-feature
apis/nfd: allow different types of features of the same name
2024-05-24 03:42:30 -07:00
Markus Lehtonen
bb565c0949 source: allow multi-type features
Allow multiple types of features (flags, attributes, instances) under
the same name.
2024-05-24 13:18:31 +03:00
Markus Lehtonen
3b448ae623 apis/nfd: allow different types of features of the same name
This patch changes the handling of NodeFeatureRules so that one feature
name (say "cpu.cpuid") can hold different types of features (flags,
attributes and/or instances). Requiring features to choose one single
type has not been a limitation of the API itself (and there has been no
validation on this) but an implementation decision.

The new evalutation logic of match expressions is such that "flags" and
"attributes" are basically evaluated as an union - they are both maps
but "flags" just don't have any value associated with the key. However,
"instances" are handled separately as that is basically an array of
maps and needs to be evaluated in a different way (loop over the array
of instances and evaluate expressions against the attributes of each).
Because of this difference care must be taken if mixing "instance"
features with "flag" and/or "attribute" features.

Note that the API types or their validation is not changed - just the
implementation of how the NodeFeatureRules are evaluated.
2024-05-24 13:18:31 +03:00
Kubernetes Prow Robot
5fe3433e35
Merge pull request #1713 from marquiz/devel/worker-log-fix
nfd-worker: improved log when creating NodeFeature object
2024-05-24 02:15:30 -07:00
Kubernetes Prow Robot
80d74cd24d
Merge pull request #1714 from marquiz/devel/api-document-fields
api/nfd: document all undocumented fields in the types
2024-05-24 01:52:11 -07:00
Markus Lehtonen
b3d6282d2c api/nfd: document all undocumented fields in the types 2024-05-23 23:49:49 +03:00
Kubernetes Prow Robot
f3051f2601
Merge pull request #1487 from ArangoGutierrez/clusterfeature
Add NodeFeatureGroup API
2024-05-23 11:39:11 -07:00
Carlos Eduardo Arango Gutierrez
47c054e1db
Add NodeFeatureGroup CRD
The NodeFeatureGroup is an NFD-specific custom resource that is designed for
grouping nodes based on their features. NFD-Master watches for NodeFeatureGroup
objects in the cluster and updates the status of the NodeFeatureGroup object
with the list of nodes that match the feature group rules. The NodeFeatureGroup
rules follow the same syntax as the NodeFeatureRule rules.

Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-05-23 16:34:08 +02:00