Adrian Chiris
30dabcf7bf
Docs: Add Table header to master/worker chart parameters
...
While on the project website it looks OK, it does
not render correctly in Markdown.
Signed-off-by: Adrian Chiris <adrianc@nvidia.com>
2021-03-18 15:31:41 +00:00
Kubernetes Prow Robot
12258dedcf
Merge pull request #489 from marquiz/devel/gh-pages-trigger
...
github: update gh-pages on published releases
2021-03-18 08:23:20 -07:00
Kubernetes Prow Robot
31b891d874
Merge pull request #490 from marquiz/devel/readme
...
README: update references to version 0.8.0
2021-03-18 07:23:20 -07:00
Markus Lehtonen
e7601e1403
README: update references to version 0.8.0
2021-03-18 15:58:43 +02:00
Markus Lehtonen
aa9050eca3
github: update gh-pages on published releases
...
This will make the Helm repo to be updated at release time.
2021-03-18 15:32:15 +02:00
Kubernetes Prow Robot
d4feff31d5
Merge pull request #488 from marquiz/devel/release-checklist
...
github: two more steps to release process
2021-03-18 04:43:19 -07:00
Markus Lehtonen
b4ef134c4d
github: two more steps to release process
2021-03-18 13:02:13 +02:00
Kubernetes Prow Robot
f784f76c37
Merge pull request #486 from marquiz/fixes/helm-repo-update
...
scripts/update-gh-pages: fix helm repo update
2021-03-18 03:51:19 -07:00
Markus Lehtonen
6541e3bb55
scripts/update-gh-pages: fix helm repo update
...
Whitespace in release metadata json was not correctly handled.
2021-03-18 11:25:07 +02:00
Kubernetes Prow Robot
c7442f81b0
Merge pull request #473 from marquiz/devel/log-readability
...
source/custom: dump config in more human-readable form
2021-03-17 12:03:19 -07:00
Kubernetes Prow Robot
6b7be5a5de
Merge pull request #483 from marquiz/fixes/template
...
Remove --sleep-interval flag from worker deployment templates
2021-03-17 07:52:56 -07:00
Markus Lehtonen
8fee13aebc
Remove --sleep-interval flag from worker deployment templates
...
We don't want that as it makes dynamic configuration of the
sleep-interval via the config file impossible. It was set to the
internal default value, anyway.
2021-03-17 16:36:39 +02:00
Kubernetes Prow Robot
b8a1426252
Merge pull request #481 from marquiz/docs/config-reference
...
docs: document all config file options
2021-03-17 06:28:56 -07:00
Kubernetes Prow Robot
842b583f71
Merge pull request #482 from marquiz/devel/github
...
github: update new-release issue template assignees
2021-03-17 05:52:56 -07:00
Markus Lehtonen
4545be71a8
github: update new-release issue template assignees
...
Sync the default assignees with the project OWNERS file.
2021-03-17 14:40:09 +02:00
Kubernetes Prow Robot
086f8c3b7a
Merge pull request #457 from marquiz/devel/helm-repo
...
Host NFD Helm repo in gh-pages
2021-03-17 04:00:56 -07:00
Markus Lehtonen
fd2dcc2275
scripts/prepare-release: use gpg for signing Helm chart
...
Need to create the provenance file by hand as we mangle the name of the
chart archive. However, this also provides better user experience (for
the release manager) as gpg version 2.1 and later are supported.
2021-03-17 07:48:22 +02:00
Kubernetes Prow Robot
4b9fe06726
Merge pull request #480 from marquiz/docs/fix-reference
...
docs: fix some internal references
2021-03-16 06:22:35 -07:00
Markus Lehtonen
c670526d9f
docs: unify the presentation of defaults in worker config reference
2021-03-16 15:09:53 +02:00
Markus Lehtonen
30ef376568
docs: document all config file options
...
Add rudimentary documentation of all options related to feature sources.
Now all options are covered in the config reference.
2021-03-16 15:09:53 +02:00
Markus Lehtonen
9ba153e081
docs: fix some internal references
...
Some reference point to the wrong section after headings have changed.
2021-03-16 14:24:15 +02:00
Kubernetes Prow Robot
a78a5d5973
Merge pull request #472 from marquiz/documentation/helm
...
docs: updates to documentation of Helm parameters
2021-03-16 02:46:34 -07:00
Markus Lehtonen
011954e4c4
source/custom: dump config in more human-readable form
...
Also, increase the verbosity level to 2 because this can produce quite a
bunch of log message lines.
2021-03-16 07:06:28 +02:00
Kubernetes Prow Robot
c0e1000a7d
Merge pull request #474 from marquiz/devel/worker-log-verbosity
...
nfd-worker: don't log labels returned by sources by default
2021-03-15 12:52:34 -07:00
Markus Lehtonen
6c6249a599
nfd-worker: don't log labels returned by sources by default
...
Reduce default log verbosity. Only print out labels if log verbosity is
1 or higher ('core.klog.v: 1' config file option or '-v 1' on command
line). Also, dump the labels in a reproducible (sorted) format.
2021-03-15 21:42:33 +02:00
Kubernetes Prow Robot
d15227fe5b
Merge pull request #471 from marquiz/devel/image-minimal
...
docs: describe deployment of the minimal image
2021-03-15 08:05:05 -07:00
Kubernetes Prow Robot
ea54b7b98a
Merge pull request #379 from mythi/cert-manager
...
use cert-manager for TLS
2021-03-12 02:06:18 -08:00
Mikko Ylinen
ee261b8288
Document cert-manager usage
...
cert-manager can be used to automate TLS certificate management for
nfd-master and the nfd-worker pod(s).
Add a template to deploy cert-manager CA Issuer and Certificates and
document steps how to use them.
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-03-12 09:39:30 +02:00
Markus Lehtonen
02e5e50dbb
docs: describe deployment of the minimal image
2021-03-11 20:35:21 +02:00
Kubernetes Prow Robot
e0d700d378
Merge pull request #463 from bfournie/new_cpu_features
...
Support for additional cpu features
2021-03-11 07:30:21 -08:00
Kubernetes Prow Robot
03f53d85e9
Merge pull request #475 from marquiz/devel/grpc-klog
...
pkg/utils: show correct source file in gRPC logs
2021-03-11 06:20:24 -08:00
Kubernetes Prow Robot
8d1a6476b0
Merge pull request #442 from marquiz/devel/cert-watcher
...
Support TLS certificate updates
2021-03-11 06:12:24 -08:00
Kubernetes Prow Robot
344f412e95
Merge pull request #470 from marquiz/docs/headings
...
docs: unify capitalization of headings
2021-03-11 02:12:24 -08:00
Markus Lehtonen
7fc6cd632c
docs: unify capitalization of headings
2021-03-11 12:07:01 +02:00
Markus Lehtonen
fb67a5027b
pkg/utils: show correct source file in gRPC logs
...
Unwind two call frames so that the source (file:line) of the log message
is correctly displayed.
2021-03-11 11:36:55 +02:00
Markus Lehtonen
8d67fc1122
pkg/utils: add dump functions
...
A simple functions for pretty-printing and logging json-marshallable objects.
2021-03-11 07:12:22 +02:00
Markus Lehtonen
708576cd71
docs: change the default of Helm image.repository parameter
...
Take the default value displayed for the image.repository Helm chart
parameter dynamically from the Jekyll configuration. This way, we
get the correct value for releases/release branches.
2021-03-10 14:21:19 +02:00
Markus Lehtonen
4039278fdf
docs: document the image.tag helm parameter
2021-03-10 14:21:17 +02:00
Kubernetes Prow Robot
be2a051da5
Merge pull request #469 from marquiz/devel/image-minimal
...
Dockerfile: add minimal image
2021-03-10 02:01:13 -08:00
Markus Lehtonen
f4e0c589b8
docs: update documentation on the image variants
2021-03-10 11:10:08 +02:00
Markus Lehtonen
1f8d7be6f0
Makefile: run e2e-tests for both variants of the image
...
Test both the full and minimal image. This might be paranoid but better
be sure(r) than sorry. The end-to-end tests are not that expensive.
2021-03-10 11:10:08 +02:00
Markus Lehtonen
c5dca79a07
Makefile: change poll-image target to poll-images
...
Poll all images that are supposed to be tagged. Both the "full" and
"minimal" variant, including tags created from IMAGE_EXTRA_TAG_NAMES.
2021-03-10 11:10:08 +02:00
Markus Lehtonen
8fb58a178a
Dockerfile: add minimal image
...
Build a "minimal" variant of the nfd image based on
gcr.io/distroless/base. The motivations behind the minimal image are
image hardening (security) and reducing the image footprint (from ca.
108MB down to about 40MB).
The practical effect of deploying the minimal image is that no runtimes
for running worker hooks are present, not even a shell. This means that
only statically linked linked hook binaries are supported. Also, because
of the image hardening live debugging of the minimal image by attaching
to the container is not possible, and, the "full" image needs to be used
for that purpose.
2021-03-10 11:09:13 +02:00
Markus Lehtonen
8cf9367798
github: update release process in new-release issue template
...
Capture process for Helm charts and remove some outdated bits.
2021-03-09 15:52:45 +02:00
Markus Lehtonen
f80e683e3e
scripts/prepare-release: package Helm chart
...
Prepare a signed Helm chart package to be uploaded to the Github release
page.
2021-03-09 15:52:44 +02:00
Markus Lehtonen
2d20a2ff7c
nfd-worker: support certificate rotation
...
Watch for changes in TLS files and re-connect to nfd-master in the event
of changes.
2021-03-09 14:40:51 +02:00
Markus Lehtonen
e771a35a21
nfd-master: support certificate rotation
...
Add a helper/wrapper in pkg/utils to handle gRPC server-side certificate
rotation.
2021-03-09 14:40:04 +02:00
Markus Lehtonen
dfc2596a22
pkg/utils: generalize file watcher
...
Add the capability to watch multiple files. Move it to a separate
package in order to make it reusable.
2021-03-09 14:20:34 +02:00
Markus Lehtonen
dfae747e84
scripts/update-gh-pages: manage a Helm repo
...
Make the update-gh-pages.sh script to maintain a Helm charts repository
under charts/ subdirectory in gh-pages. The script now (always) scans
throught all release assets and injects any found Helm chart archives
into the Helm repo. In practice, new assets in all Github releases are
scanned and the Helm repo is updated on any update of the master or
release branches or on any new tags. Asset ids are tracked/cached in
order to avoid unnecessary downloads, but also, to capture any changes
in assets that were already merged in the repo index.
After this a user is able to do something like
$ helm repo add nfd http://kubernetes-sigs.github.io/node-feature-discovery/charts
...
$ helm repo update
...
$ helm install nfd/node-feature-discovery --namespace nfd --create-namespace --generate-name
...
2021-03-09 14:14:29 +02:00
Kubernetes Prow Robot
4c5285d9ed
Merge pull request #465 from marquiz/devel/klog-grpc
...
logging: set grpc to use klog for logging
2021-03-08 05:53:42 -08:00