1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-05 08:17:04 +00:00
Commit graph

597 commits

Author SHA1 Message Date
Kubernetes Prow Robot
5dfc0ef791
Merge pull request #1141 from marquiz/release-0.7
[release-0.7] docs: mark release v0.7 as unsupported
2023-04-17 06:40:44 -07:00
Markus Lehtonen
9cc89aef3e docs: mark release v0.7 as unsupported 2023-04-17 16:26:52 +03:00
Kubernetes Prow Robot
59482e5c5e
Merge pull request #777 from k8s-infra-cherrypick-robot/cherry-pick-773-to-release-0.7
[release-0.7] docs: Update default K8S_NAMESPACE
2022-02-14 01:55:28 -08:00
Cam Hutchison
94bf1b0246 docs: Update default K8S_NAMESPACE
Change the default K8S_NAMESPACE to node-feature-discovery from
kube-system. The default was changed in the Makefile in commit
5d4484a1d9, but the docs were not updated
to correspond with that.
2022-02-14 09:50:12 +00:00
Kubernetes Prow Robot
499a9ebf33
Merge pull request #761 from marquiz/backports/0.7
[release-0.7] docs: fix operator deployment instructions
2022-01-25 10:10:32 -08:00
Markus Lehtonen
cf1057f5e5 docs: re-fix operator deployment instructions
Back to how it was - the 'stable' channel went away in the latest NFD
update on community-opetors (operatorhub.io).

(cherry picked from commit fc32386287)
2022-01-25 19:35:17 +02:00
Markus Lehtonen
0051a3eb72 docs: fix operator deployment instructions
(cherry picked from commit f302962519)
2022-01-25 18:00:02 +02:00
Kubernetes Prow Robot
da1c87fba9
Merge pull request #750 from k8s-infra-cherrypick-robot/cherry-pick-724-to-release-0.7
[release-0.7] scripts/update-gh-pages: fix symlink to stable version
2022-01-21 07:21:59 -08:00
Markus Lehtonen
309162eb90 scripts/update-gh-pages: fix symlink to stable version
Fix the sorting magic of release directories. Correctly sort according
to the version number.
2022-01-21 15:13:00 +00:00
Kubernetes Prow Robot
f9ccf2d186
Merge pull request #561 from marquiz/devel/backport-0.7
backport-0.7: remove wrong commands from docs
2021-08-09 03:03:32 -07:00
Carlos Eduardo Arango Gutierrez
b079e1d51e Remove wrong comands
Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
(cherry picked from commit 59172007b2)
2021-08-09 12:44:02 +03:00
Kubernetes Prow Robot
c68663b36c
Merge pull request #534 from marquiz/backports/docs-0.7
backport-0.7: docs: show full version number in sidebar
2021-05-19 01:42:51 -07:00
Markus Lehtonen
ab9f61f8ea docs: show full version number in sidebar
Change the sidebar customization so that the full version (e.g. v0.8.2)
is displayed, instead of the truncated "releae branch version" (e.g.
v0.8) in the top left corner of the page. The items in the version menu
are unchanged and will still show the shorter form.

(cherry picked from commit 4d19e1ab85)
2021-05-19 11:23:54 +03:00
Kubernetes Prow Robot
2784cd610c
Merge pull request #476 from marquiz/devel/release-0.7
release-0.7: docs: unify capitalization of headings
2021-03-11 09:22:22 -08:00
Markus Lehtonen
a680ba95c6 scripts: add mdlint.sh stub to make prow happy 2021-03-11 12:30:29 +02:00
Markus Lehtonen
449635fa9c docs: unify capitalization of headings
(cherry picked from commit 7fc6cd632c)
2021-03-11 12:22:44 +02:00
Kubernetes Prow Robot
2908f8d447
Merge pull request #417 from marquiz/release-0.7
scripts/update-gh-pages: add more details when stopping
2020-12-04 12:39:26 -08:00
Markus Lehtonen
d65336f459 scripts/update-gh-pages: add more details when stopping 2020-12-04 22:12:29 +02:00
Kubernetes Prow Robot
3cef279f90
Merge pull request #415 from marquiz/devel/release-0.7
github: update new-release issue template
2020-12-04 09:57:59 -08:00
Markus Lehtonen
97434bf28b github: update new-release issue template 2020-12-04 19:48:58 +02:00
Kubernetes Prow Robot
86837a7921
Merge pull request #414 from marquiz/devel/release-0.7
Update references to v0.7.0
2020-12-04 07:09:58 -08:00
Markus Lehtonen
1f09af32fb Update references to v0.7.0
Generated semi-automagically by running
  $ scripts/prepare-release.sh v0.7.0
2020-12-04 16:26:14 +02:00
Kubernetes Prow Robot
8aa9460e66
Merge pull request #406 from mythi/cpuid-v2.0
go.mod: update klauspost/cpuid
2020-12-04 06:21:59 -08:00
Kubernetes Prow Robot
c624c88b10
Merge pull request #412 from marquiz/devel/prune
Add namespace and RBAC rules to nfd-prune.yaml.template
2020-12-03 05:41:00 -08:00
Kubernetes Prow Robot
24937bbed6
Merge pull request #411 from marquiz/documentation/uninstall
docs: more options in uninstallation instructions
2020-12-03 04:50:59 -08:00
Markus Lehtonen
c7e66d910f Add namespace and RBAC rules to nfd-prune.yaml.template
Makes it possible to run prune on its own. Reflect this change in the
documentation.
2020-12-03 14:41:54 +02:00
Markus Lehtonen
d2bfa3c39b docs: more options in uninstallation instructions 2020-12-03 14:36:42 +02:00
Kubernetes Prow Robot
9ea5329ab6
Merge pull request #409 from marquiz/fixes/gh-pages-2
scripts/update-gh-pages: fix generated commit message
2020-12-03 04:18:59 -08:00
Kubernetes Prow Robot
1d021d02b8
Merge pull request #410 from marquiz/fixes/templates
Fix auto-generation of nfd-prune.yaml
2020-12-03 03:57:00 -08:00
Markus Lehtonen
7cb66bbba1 Fix auto-generation of nfd-prune.yaml
Change the template so that our sed magic updates the container image
name correctly.
2020-12-03 13:34:26 +02:00
Kubernetes Prow Robot
7f5d2390bf
Merge pull request #408 from marquiz/fixes/gh-pages
scripts/update-gh-pages: only update docs if version has been released
2020-12-03 03:01:00 -08:00
Markus Lehtonen
ad042f92f5 scripts/update-gh-pages: only update docs if version has been released
Only update documentation if the version has been released (i.e. a git
tag corresponding the version we're updating exists) or it is for the
master branch. Prevents us from pointing users to documentation of an
unreleased version.

Also updates github workflow to fetch full commit history (including
tags) so that git describe works correctly.
2020-12-03 12:54:14 +02:00
Markus Lehtonen
9d4e89ae8f scripts/update-gh-pages: fix generated commit message 2020-12-03 12:30:37 +02:00
Mikko Ylinen
94f49b9418 go.mod: update klauspost/cpuid
The latest changes in klauspost/cpuid add detection for Sapphire Rapids
new instructions.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-11-30 19:04:41 +02:00
Kubernetes Prow Robot
42d3fa19ef
Merge pull request #404 from ArangoGutierrez/kubeconfig_env_e2e
be a bit more verbose on a required KUBECONFIG env var
2020-11-24 21:16:39 -08:00
Carlos Eduardo Arango Gutierrez
30e64468de
Makefile: require KUBECONFIG to be specified for e2e-test target
This Patch adds a check on make target e2e-test, to check if the
KUBECONFIG env var is set before running the test suite.

if not pressent return a valid error message.

Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
2020-11-24 16:50:55 -05:00
Kubernetes Prow Robot
a27a69e452
Merge pull request #405 from marquiz/devel/gitignore
gitignore: add bin/
2020-11-24 11:46:40 -08:00
Markus Lehtonen
5528387bc4 gitignore: add bin/ 2020-11-24 21:23:15 +02:00
Kubernetes Prow Robot
a0f59ef22f
Merge pull request #336 from marquiz/devel/122
nfd-master: patch node object instead of rewriting it
2020-11-24 04:51:00 -08:00
Markus Lehtonen
19b8f2cd3d nfd-master: more detailed unit testing of extended resources 2020-11-24 12:45:06 +02:00
Markus Lehtonen
d17743a0b9 nfd-master: handle label annotations in the same func
Handle both creation and parsing of the "feature-labels" and
"extended-resources" annotations in the function. I think this is more
logical to keep them together.
2020-11-24 12:45:06 +02:00
Markus Lehtonen
95ff300d74 nfd-master: patch node object instead of rewriting it
When updating node labels and annotations use JSON patches instead of
doing a read-modify-write on the whole node object. Patching is already
being used in managing extended resources so some of the existing code
was re-usable.

This patch should mitigate the problem of node update failures caused by
race conditions (a change in the node object between our read and write)
resulting e.g. in errors/restarts in nfd worker pods.
2020-11-24 12:45:06 +02:00
Markus Lehtonen
1ea301d272 nfd-master: change statusOp to a more generalized JSON patch
Generalize and rename 'statusOp' type to a more flexible 'JsonPatch'.
Move it to the apihelper package.
2020-11-24 12:45:06 +02:00
Markus Lehtonen
bb1e4c60fb nfd-master: use namespaced label and annotation names internally
For historical reasons the labels in the default nfd namespace have been
internally represented without the namespace part. I.e. instead of
"feature.node.kubernetes.io/foo" we just use "foo". NFD worker uses this
representation, too, both internally and over the gRPC requests. The
same scheme has been used for annotations.

This patch changes NFD master to use fully namespaced label and
annotation names internally. This hopefully makes the code a bit more
understandable. It also addresses some corner cases making the handling
of label names consistent, making it possible to use both "truncated"
and fully namespaced names over the gRPC interface (and in the
annotations).
2020-11-24 12:45:06 +02:00
Kubernetes Prow Robot
7f3f9d7ed8
Merge pull request #403 from marquiz/fixes/e2e
test/e2e: fix e2e-config node matching
2020-11-24 02:09:00 -08:00
Markus Lehtonen
0512b06027 test/e2e: fix e2e-config node matching
Pick the correct rule when multiple node rules are present.
2020-11-24 11:35:35 +02:00
Kubernetes Prow Robot
9b8451209c
Merge pull request #402 from marquiz/fixes/kernel-version-sanitize
kernel: more agressively sanitize full kernel version
2020-11-23 09:57:34 -08:00
Kubernetes Prow Robot
def4b60d65
Merge pull request #386 from marquiz/devel/default-configmap
Add nfd-worker-conf ConfigMap to deployment templates
2020-11-23 09:07:34 -08:00
Markus Lehtonen
ba4ecfe7dc kernel: more agressively sanitize full kernel version
Trim illegal characters from the beginning and end of the kernel version
string. Label values must start and end with an alphanumeric and we want
to have some 'version.full' label, even if a sanitized one.
2020-11-23 19:04:12 +02:00
Markus Lehtonen
979d3b88fe Add nfd-worker-conf ConfigMap to deployment templates
Add a virtually empty ConfigMap that is mounted inside the workers.
Makes it easier to start customizing the worker deployment e.g. with just:

  $ kubectl -n ${NFD_NS} edit configmap nfd-worker-conf

Create a new 'templates' make target for inserting the content of
nfd-worker.conf.example into the configmap spec of the templates. Thus,
'make templates' should be run whenever the example config is update.
Update the verify.sh prow script to check that the templates are up to
date.

This patch also streamlines the documentation about configuration
management, reflecting the changes.
2020-11-23 18:49:52 +02:00