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

819 commits

Author SHA1 Message Date
Kubernetes Prow Robot
df44914e81
Merge pull request #619 from marquiz/backports/0.9
backports/v0.9: fixes to docs
2021-10-04 07:11:09 -07:00
Markus Lehtonen
8bb46345e7 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.

(cherry picked from commit 819f333118)
2021-10-04 16:45:54 +03:00
krishna2603
c98bc029ed Update developer-guide.md
changed exapmle to example

(cherry picked from commit dbb99c6f18)
2021-10-04 16:45:31 +03:00
Markus Lehtonen
2f7fed74fd docs: remote wip note from worker configuration reference
All configuration options are documented.

(cherry picked from commit 89d0f4ff3c)
2021-10-04 16:43:41 +03:00
Carlos Eduardo Arango Gutierrez
33f02a21f4 Fix broken link on docs/get-started
Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
(cherry picked from commit 6f4fbefacd)
2021-10-04 16:43:16 +03:00
Kubernetes Prow Robot
e82dc42ab5
Merge pull request #594 from marquiz/backports/0.9
backports/v0.9: documentation fixes
2021-09-13 04:04:07 -07:00
Carlos Eduardo Arango Gutierrez
bbe6ca427b Fix broken link for worker-conf example
Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
(cherry picked from commit f9e09e5fd4)
2021-09-13 13:58:17 +03:00
Vaibhav
7c50c7d6cd Fix a link in deployment-and-usage.md
(cherry picked from commit ac720ef57a)
2021-09-13 13:57:58 +03:00
Vaibhav Goel
23ae0d9046 Fix the typo in deployment-and-usage.md (#575)
* Fix the typo in deployment-and-usage.md

* Update in doc/get-started/deployment-and-usage.md

(cherry picked from commit 87feb9610b)
2021-09-13 13:57:39 +03:00
Kubernetes Prow Robot
0b377f432e
Merge pull request #581 from marquiz/fixes/release-0.9
release-0.9: README: fix deployment instructions
2021-08-20 00:09:24 -07:00
Markus Lehtonen
f5390d971f README: fix deployment instructions
We don't have templates, anymore, but use kustomize.
2021-08-20 09:18:15 +03:00
Kubernetes Prow Robot
e5d7b553b2
Merge pull request #576 from marquiz/release-0.9
release-0.9: update references to v0.9.0
2021-08-19 14:27:24 -07:00
Markus Lehtonen
5127b371d5 Update references to v0.9.0
Generated with:

scripts/prepare-release.sh v0.9.0 markus.lehtonen@intel.com
2021-08-19 23:46:42 +03:00
Kubernetes Prow Robot
c87b06eb0f
Merge pull request #579 from kubernetes-sigs/master
release-0.9: sync with master
2021-08-19 13:43:25 -07:00
Kubernetes Prow Robot
6e53fbc1ef
Merge pull request #578 from marquiz/fixes/kustomize
kustomize: fix broken master-worker-combined base
2021-08-19 13:29:25 -07:00
Markus Lehtonen
a3b2d97513 kustomize: fix broken master-worker-combined base
Got broken unnoticed with the addition of liveness and readiness probes.
2021-08-19 23:22:28 +03:00
Kubernetes Prow Robot
37b3af0810
Merge pull request #577 from marquiz/fixes/scripts
scripts: fix prepare-release.sh to update all kustomize files
2021-08-19 12:21:25 -07:00
Markus Lehtonen
9db5807bf4 scripts: fix prepare-release.sh to update all kustomize files 2021-08-19 22:15:58 +03:00
Kubernetes Prow Robot
c07c6354fc
Merge pull request #572 from marquiz/docs/cstate
docs: clarify the cpu.cstate feature
2021-08-19 07:55:24 -07:00
Kubernetes Prow Robot
a0a8304958
Merge pull request #571 from jschintag/cstate-fix
cstate/pstate: Skip check on non intel arches
2021-08-19 07:43:24 -07:00
Jan Schintag
ac0e5b1b52 cstate/pstate: Skip check on non intel arches
Intel driver is not available on other arches, skip check.

Signed-off-by: Jan Schintag <jan.schintag@de.ibm.com>
2021-08-19 16:37:54 +02:00
Kubernetes Prow Robot
440159a0e9
Merge pull request #563 from ArangoGutierrez/devel/issue522
Add Readiness and liveliness probes to nfd-master
2021-08-18 09:40:08 -07:00
Kubernetes Prow Robot
234f385cdd
Merge pull request #570 from marquiz/devel/errors
Better error reporting of kernel and cpu feature sources
2021-08-18 08:44:08 -07:00
Carlos Eduardo Arango Gutierrez
dece85b394
Add livenessProbe via grpc to nfd-master
Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
2021-08-18 10:23:10 -05:00
Kubernetes Prow Robot
137a10f239
Merge pull request #573 from marquiz/devel/kustomize
Move to kustomize
2021-08-18 06:06:08 -07:00
Markus Lehtonen
7dfd7d289f docs: document all the provided kustomize overlays 2021-08-18 15:10:25 +03:00
Markus Lehtonen
63c1256d08 Drop deployment templates
Resort to kustomize, instead. Update docs and scripts, accordingly.

Bump cert-manager version in the deployment instructions to v1.5.1.
2021-08-18 15:10:25 +03:00
Markus Lehtonen
1f8a6d7819 kustomize: add standard-combined overlay
Replicates nfd-daemonset-combined.yaml.template.

In addition to the overlay we need to add a separate set of patches
under components/common in order to handle the double-container pod.
2021-08-18 15:10:25 +03:00
Markus Lehtonen
b38cf997d5 kustomize: add prune overlay
Add an overlay for deploying "nfd-master --prune". Replaces
nfd-prune.yaml.template.
2021-08-18 15:10:25 +03:00
Markus Lehtonen
787ebfe441 kustomize: add Job example deployment
Add a new base kustomization for worker Job and an overlay stitching up
the complete deployment. Replaces nfd-worker-job.yaml.template.
2021-08-18 15:10:25 +03:00
Markus Lehtonen
3737e0f6a3 kustomize: add an example custom rules configmap
Add an example kustomize overlay for deploying a configmap specifying
extra rules for the custom feature source.
2021-08-18 14:05:57 +03:00
Markus Lehtonen
03b67f8d6a kustomize: add support for cert-manager
Add an example kustomize overlay for enabling cert-manager in an NFD
deployment.
2021-08-18 14:05:57 +03:00
Markus Lehtonen
8117c099a3 deployment: add kustomize base
Implement functionality virtually replicating deployment templates for
nfd-master and nfd-worker daemonset (nfd-master.yaml.template and
nfd-worker-daemonset.yaml.template) by adding a kustomize overlay named
"default".

We split the resources into multiple bases (rbac, master and
worker-daemonset) so that relevant parts are re-usable in
other deployment scenarios added later (e.g. "one-shot job", and
"combined daemonset").

This patch adds one component (components/common) doing the required
kustomization for the example deployment.
2021-08-18 14:05:57 +03:00
Markus Lehtonen
0f2554abf1 helm: move files under deployment/helm 2021-08-16 14:44:26 +03:00
Markus Lehtonen
4ef58d7fc8 docs: clarify the cpu.cstate feature 2021-08-13 11:43:03 +03:00
Markus Lehtonen
43e0f83940 source/cpu: better error reporting
Drop confusing errors in the log when intel pstate or cstate driver is
not enabled in the system. However, we still log an error if sysfs is
not available at all, in which case we're not able to detect these
correctly.
2021-08-13 09:16:03 +03:00
Markus Lehtonen
73704e2e11 source/kernel: better error reporting
Get rid of distracting error in the log in case selinux is not enabled
in the kernel. Still print an error only if sysfs/fs directory is not
available, though, which indicates that we're not able to correctly
detect the presence of selinux.
2021-08-13 09:13:19 +03:00
Kubernetes Prow Robot
85c1410e18
Merge pull request #569 from marquiz/devel/k8s-122
go.mod: update kubernetes to v1.22.0
2021-08-12 06:31:47 -07:00
Kubernetes Prow Robot
11ec43ce1a
Merge pull request #568 from marquiz/devel/golang-1167
Dockerfile: update go to 1.16.7
2021-08-12 00:59:47 -07:00
Markus Lehtonen
321d07e338 go.mod: update golang.org/x/net 2021-08-12 10:54:58 +03:00
Markus Lehtonen
035d528a17 Dockerfile: update go to 1.16.7 2021-08-12 10:37:44 +03:00
Markus Lehtonen
136e262799 go.mod: update kubernetes to v1.22.0
Update k/k to v1.22.0 and sync all related dependencies with it.
2021-08-12 10:28:57 +03:00
Kubernetes Prow Robot
24bfbf8668
Merge pull request #564 from marquiz/devel/helm-readme
helm: add readme
2021-08-11 02:22:46 -07:00
Markus Lehtonen
5fe3f7163f helm: add readme
Add minimal readme to the helm chart and update
scripts/prepare-release.sh to handle references in the readme file.
2021-08-11 11:41:27 +03:00
Kubernetes Prow Robot
4a22a39928
Merge pull request #536 from marquiz/devel/label-sub-ns
nfd-master: allow sub-namespaces of the default label ns
2021-08-10 04:19:18 -07:00
Markus Lehtonen
eb666f521d nfd-master: allow sub-namespaces of the default label ns
Allow <sub-ns>.feature.node.kubernetes.io label namespaces. Makes it
possible to have e.g. vendor specific label ns without the need to user
-extra-label-ns.
2021-08-10 11:41:52 +03:00
Kubernetes Prow Robot
80a512a8d4
Merge pull request #559 from ArangoGutierrez/fix/documentation_typo
Remove wrong comands on documentation
2021-08-09 02:07:31 -07:00
Carlos Eduardo Arango Gutierrez
59172007b2
Remove wrong comands
Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
2021-08-04 21:01:02 -05:00
Kubernetes Prow Robot
47b1bd8e11
Merge pull request #549 from marquiz/devel/lint
Makefile: add lint target
2021-08-04 10:01:24 -07:00
Kubernetes Prow Robot
36540c112d
Merge pull request #541 from marquiz/devel/makefile-apigen
Makefile: add apigen target
2021-08-04 09:51:25 -07:00