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

2609 commits

Author SHA1 Message Date
Markus Lehtonen
6515990cae 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-08 15:28:25 +03:00
Markus Lehtonen
23fda76070 scripts/test-infra: run postsubmit e2e test in kind 2024-07-08 13:38:38 +03:00
Markus Lehtonen
f7f6bfa020 scripts/test-infra: drop the unused build-image script 2024-07-08 13:20:58 +03:00
Kubernetes Prow Robot
0b43631018
Merge pull request #1760 from kubernetes-sigs/dependabot/go_modules/master/golang.org/x/net-0.27.0
build(deps): bump golang.org/x/net from 0.26.0 to 0.27.0
2024-07-08 02:42:34 -07:00
Kubernetes Prow Robot
dcc03a6296
Merge pull request #1758 from marquiz/devel/e2e-presubmit
scripts: refresh e2e-presubmit test script
2024-07-08 02:02:40 -07:00
dependabot[bot]
7fcaf41fde
build(deps): bump golang.org/x/net from 0.26.0 to 0.27.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.26.0 to 0.27.0.
- [Commits](https://github.com/golang/net/compare/v0.26.0...v0.27.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-07 09:55:09 +00:00
Markus Lehtonen
fb2b1926f6 scripts: refresh e2e-presubmit test script
Update and simplify.
2024-07-05 14:51:13 +03:00
Kubernetes Prow Robot
33c844c6a3
Merge pull request #1749 from ozhuraki/avxvnniint16
Document AVXVNNIINT16 cpuid feature
2024-07-04 06:44:32 -07:00
Oleg Zhurakivskyy
cb80feca81 Document AVXVNNIINT16 cpuid feature
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2024-07-04 15:18:04 +03:00
Carlos Eduardo Arango Gutierrez
5d3ee1c51f
Use worker DS OwnerReference for NF's
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-07-04 13:53:24 +02:00
Kubernetes Prow Robot
ae4b13c21c
Merge pull request #1756 from ArangoGutierrez/master0161
Update README to v0.16.1
2024-07-03 09:25:59 -07:00
Carlos Eduardo Arango Gutierrez
0472fa36cb
Update README to v0.16.1
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-07-03 17:54:48 +02:00
Kubernetes Prow Robot
7a66da4dc4
Merge pull request #1743 from kubernetes-sigs/dependabot/go_modules/master/google.golang.org/protobuf-1.34.2
build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2
2024-07-02 07:41:59 -07:00
Kubernetes Prow Robot
68e608d79f
Merge pull request #1745 from kubernetes-sigs/dependabot/go_modules/master/github.com/spf13/cobra-1.8.1
build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1
2024-07-02 04:50:05 -07:00
Kubernetes Prow Robot
94b46b9f02
Merge pull request #1744 from kubernetes-sigs/dependabot/go_modules/master/github.com/klauspost/cpuid/v2-2.2.8
build(deps): bump github.com/klauspost/cpuid/v2 from 2.2.7 to 2.2.8
2024-07-02 04:49:59 -07:00
Kubernetes Prow Robot
30dcae8c67
Merge pull request #1753 from ArangoGutierrez/1752
Dockerfile: fix FromAs Casing
2024-07-02 03:55:58 -07:00
Carlos Eduardo Arango Gutierrez
a64241440e
Dockerfile: fix FromAs Casing
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-07-02 12:41:24 +02:00
Kubernetes Prow Robot
0418e7ddf3
Merge pull request #1746 from tariq1890/prune-svc-account-name
ensure post-delete-job's service account matches ref in job spec
2024-06-27 08:57:17 -07:00
Tariq Ibrahim
8e1907f53f
ensure post-delete-job's service account matches ref in job spec
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com>
2024-06-17 14:09:26 -07:00
dependabot[bot]
bb27dae2c2
build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 10:47:51 +00:00
dependabot[bot]
bef78d64b8
build(deps): bump github.com/klauspost/cpuid/v2 from 2.2.7 to 2.2.8
Bumps [github.com/klauspost/cpuid/v2](https://github.com/klauspost/cpuid) from 2.2.7 to 2.2.8.
- [Release notes](https://github.com/klauspost/cpuid/releases)
- [Changelog](https://github.com/klauspost/cpuid/blob/master/.goreleaser.yml)
- [Commits](https://github.com/klauspost/cpuid/compare/v2.2.7...v2.2.8)

---
updated-dependencies:
- dependency-name: github.com/klauspost/cpuid/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 10:47:47 +00:00
Kubernetes Prow Robot
b384c2e125
Merge pull request #1742 from kubernetes-sigs/dependabot/go_modules/master/github.com/opencontainers/runc-1.1.13
build(deps): bump github.com/opencontainers/runc from 1.1.12 to 1.1.13
2024-06-17 03:46:52 -07:00
dependabot[bot]
10f546a865
build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2
Bumps google.golang.org/protobuf from 1.34.1 to 1.34.2.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-16 09:35:59 +00:00
dependabot[bot]
086d2f9d74
build(deps): bump github.com/opencontainers/runc from 1.1.12 to 1.1.13
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.12 to 1.1.13.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.12...v1.1.13)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-16 09:35:56 +00:00
Kubernetes Prow Robot
1179c115c1
Merge pull request #1739 from IbirbyZh/patch-1
Fix the problem with starting the master with empty cache
2024-06-10 11:42:26 -07:00
IbirbyZh
2f9801b554
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:06:14 +02:00
Kubernetes Prow Robot
4628ea8ca1
Merge pull request #1738 from kubernetes-sigs/dependabot/go_modules/master/golang.org/x/net-0.26.0
build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0
2024-06-10 00:03:08 -07:00
dependabot[bot]
9b6200085c
build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/net/compare/v0.25.0...v0.26.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-09 09:23:24 +00:00
Kubernetes Prow Robot
fcced3ab4f
Merge pull request #1728 from budimanjojo/master
helm: remove defaults CPU limits
2024-06-07 01:13:11 -07:00
Kubernetes Prow Robot
72c0bdb4c2
Merge pull request #1729 from marquiz/devel/topology-ipv6
topology-updater: properly handle IPv6 from NODE_ADDRESS
2024-06-04 04:41:23 -07:00
Markus Lehtonen
dfbd63b728 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 14:19:57 +03:00
budimanjojo
3d62382cd1
helm: remove defaults CPU limits
Signed-off-by: budimanjojo <budimanjojo@gmail.com>
2024-05-30 11:55:34 +07:00
Markus Lehtonen
a088de7333 deployment/helm: enable specifying additional cmdline args 2024-05-28 20:09:08 +03:00
Kubernetes Prow Robot
560905fbee
Merge pull request #1722 from marquiz/devel/readme
Update readme to v0.16.0 release
2024-05-27 12:44:44 -07:00
Markus Lehtonen
9e20c681dc Update readme to v0.16.0 release 2024-05-27 21:35:40 +03:00
Kubernetes Prow Robot
ed09269cca
Merge pull request #1720 from marquiz/devel/gh-actions
Revert "build(deps): bump actions/checkout from 1 to 4"
2024-05-27 11:07:15 -07:00
Markus Lehtonen
3c47b4f32f 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 20:59:56 +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