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

488 commits

Author SHA1 Message Date
Markus Lehtonen
a9d45c80ac README: move content over to docs/
Move all content from README.md to the Jekyll site under docs/. Also
re-organize it into multiple sub-pages.

Populate README with fresh content turning it into virtually a big link
to the html-based documentation site. Spiced up with super-quick-start
instructions.
2020-10-29 14:07:08 +02:00
Markus Lehtonen
2215cfa7c6 docs: add landing page and quick-start guide 2020-10-29 13:29:10 +02:00
Kubernetes Prow Robot
a08fb66fa7
Merge pull request #373 from marquiz/fixes/prow-gh-pages
scripts: fix gh-pages build failure in prow
2020-10-22 11:39:37 -07:00
Markus Lehtonen
194f42f5c9 docs: pin version of jekyll-rtd-theme
Sync our customizations under _includes/ with v2.0.9 of
jekyll-rtd-theme. Also, pin the theme version in order to avoid abrupt
build failures in the future (caused by our customization becoming
incompatible with the rolling latest version).

Also, drop jekyll-rtd-theme from the Gemfile. It's useless there as it's
being mandated by remote-theme setting in _config.yml.
2020-10-22 21:32:17 +03:00
Markus Lehtonen
ad0db00a50 scripts: fix gh-pages build failure in prow
Work around stupid uid/gid magic that happens inside the jekyll docker image.
2020-10-22 21:31:05 +03:00
Kubernetes Prow Robot
c793796ba5
Merge pull request #367 from marquiz/devel/gh-pages
Integration with gh-pages
2020-10-08 03:16:16 -07:00
Markus Lehtonen
c5beeffb6a Enable automated update of gh-pagaes
Add 'scripts/github/update-gh-pages.sh' for updating gh-pages branch.
This new script intended for github actions integration and builds the
html documentation from the currently checked-out commit and updates the
corresponding version subfolder in the gh-pages branch. The version is
taken from GITHUB_REF environment variable and defaults to 'master' if
the env var is empty. For testing purposes or manual updates the
subfolder can also be given directly as a command line argument.

Add 'scripts/test-infra/build-gh-pages.sh' for verifying that site
(gh-pages) builds successfully. This is intended for integration with
kubernetes test-infra.

Finally, add Github workflow for updating gh-pages. This job is run on
master and release branches plus all tags starting with letter 'v'.
2020-10-08 10:54:24 +03:00
Markus Lehtonen
37cbf80c19 docs: customize the theme to show current version
Show current version (configured in _config.yml) in the sidebar instead
of the latest release from Github.
2020-10-08 10:53:27 +03:00
Markus Lehtonen
611612fd97 docs: add support for versioned documentation
Customize the Jekyll theme to add a simple list of versions.
2020-10-08 10:51:13 +03:00
Markus Lehtonen
5ec91935df Makefile: add rules for building html docs
Add rules for building and serving the html documentation inside a
container.
- 'make site-build' will build the html content unders docs/_site.
- 'make site-serve' builds the site content and serves it at
  http://localhost:4000/
2020-10-08 10:51:13 +03:00
Markus Lehtonen
d8ed7a7131 docs: initial site setup
Bootstrap a new Jekyll site with stub content for testing gh-pages
integration.

Use jekyll-rdt-theme from
https://github.com/rundocs/jekyll-rtd-theme
2020-10-08 10:50:04 +03:00
Kubernetes Prow Robot
851c2ac6a0
Merge pull request #366 from mrbobbytables/update-labels
Update triage/support label references to kind/support
2020-10-04 22:01:06 -07:00
Bob Killen
93c11c03bf
Update triage/support label references to kind/support
The label triage/support has been reclassified as kind/support. The
kind/* family of labels makes more logical sense, as they describe the
"kind" of thing an issue or PR is.

For more information, see the announcement email:
https://groups.google.com/g/kubernetes-dev/c/YcaJpsjjLKw/m/i15cLLx5CAAJ
2020-10-03 10:12:31 -04:00
Kubernetes Prow Robot
2c28e303af
Merge pull request #365 from marquiz/devel/deploy-namespace
Makefile: set default deployment ns to node-feature-discovery
2020-10-01 06:50:53 -07:00
Markus Lehtonen
5d4484a1d9 Makefile: set default deployment ns to node-feature-discovery
Change the default namespace used in deployment yamls from 'kube-system'
to 'node-feature-discovery'. Sync with what the templates have. Also,
this should be a safer and more desirable default for people just trying
out node-feature-discovery.
2020-10-01 13:52:10 +03:00
Carlos Arango Gutierrez
0896223c69
Enable issue templates (#363)
* Enable issue templates

This commit adds templates for bug report, feature request and support
related issues.

Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>

* Update .github/ISSUE_TEMPLATE/bug-report.md

Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>

* Update .github/ISSUE_TEMPLATE/enhancement.md

Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>

* Update .github/ISSUE_TEMPLATE/support.md

Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>

Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>
2020-09-22 11:17:09 -07:00
Kubernetes Prow Robot
5604ae4feb
Merge pull request #364 from marquiz/devel/scripts-overrides
scripts: one more variable override fix in test-e2e.sh
2020-09-22 03:54:47 -07:00
Markus Lehtonen
d77398bc50 scripts: one more variable override fix in test-e2e.sh 2020-09-22 10:29:29 +03:00
Kubernetes Prow Robot
8628dbb1e3
Merge pull request #362 from marquiz/devel/scripts-overrides
Polish test-infra scripts a bit
2020-09-21 15:34:47 -07:00
Markus Lehtonen
1e3c971651 scripts: don't use '-e' command line option for make
There is no reason to override variables from the environment anymore.
2020-09-15 11:53:50 +03:00
Markus Lehtonen
e8e3fce851 scripts: explicitly override VERSION in push-image.sh
Without using -e to override variables from the environment.
2020-09-15 11:46:48 +03:00
Kubernetes Prow Robot
f0ef38b84e
Merge pull request #334 from mythi/custom-adds
custom: Add rules for kconfig and cpuid
2020-09-14 06:04:58 -07:00
Mikko Ylinen
e2ee7c6fca source/custom: add rules for cpuid and kconfig
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-09-14 12:07:35 +03:00
Mikko Ylinen
d1cce3ba29 source/custom: do not return on rule errors
Skip to the next rule instead of returning immediately on
rule errors. For instance, if the static rules failed, user
provided rules would never be processed.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-09-14 12:07:35 +03:00
Mikko Ylinen
8b156d49fc source/kernel: add internal helper to get kernel version
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-09-14 12:07:35 +03:00
Mikko Ylinen
aeb7583315 source/kernel: move kconfig to a shared internal package
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-09-14 12:07:33 +03:00
Mikko Ylinen
3fd314b600 source/kernel: add more search paths
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-09-14 12:06:23 +03:00
Mikko Ylinen
109da6c980 source/cpu: move cpuid code to a shared internal package
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-09-14 10:32:04 +03:00
Kubernetes Prow Robot
dc64fe0979
Merge pull request #360 from ArangoGutierrez/image_push
Drop gcloud auth for image pushing
2020-09-12 06:34:57 -07:00
Carlos Eduardo Arango Gutierrez
bac690813a
Drop gcloud auth for image pushing
gcloud auth call in push_image.sh test script is no longer needed

Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
2020-09-12 07:38:38 -05:00
Kubernetes Prow Robot
d6b0f105eb
Merge pull request #359 from marquiz/devel/drop-travis
Drop TravisCI integration
2020-09-11 04:34:14 -07:00
Markus Lehtonen
006234b69d Drop TravisCI integration
All CI has been migrated over to Kubernetes test-infra.
2020-09-11 08:19:36 +03:00
Kubernetes Prow Robot
48354d0cba
Merge pull request #358 from marquiz/devel/demo-fix
Fix demo
2020-09-10 16:32:14 -07:00
Markus Lehtonen
02d68ba491 demo: make demo runnable again
Fix workload template specs:
- update node affinity in "demo-pod-with-discovery.cloverleaf"
- fix broken "demo-pod-without-discovery"

Fix runner scripts to be runnable from anywhere gqYour current working
dir shouldn't matter. Also make the scripts exit on any error. Also
remove trailing whitespace.

Minor fixes in README.
2020-09-10 17:09:53 +03:00
Kubernetes Prow Robot
868699445f
Merge pull request #357 from marquiz/devel/readme
README: drop References and unused links
2020-09-10 04:47:45 -07:00
Markus Lehtonen
49d66aa941 README: drop References and unused links
The references listed have lost relevance in this context.
2020-09-10 09:09:19 +03:00
Kubernetes Prow Robot
8ea80365b5
Merge pull request #355 from marquiz/devel/makefile
Fix up Makefile variable initialization and documentation
2020-09-08 07:03:43 -07:00
Markus Lehtonen
890380892d Fix up Makefile variable initialization and documentation
An attempt to organize the Makefile variables a bit further. The idea is
to only document variables that are really intended for build
customization and initialize all these variables in the Makefile with
'=?' so that they can be specified in the environment (and not just with
variable overrides). Thus, this patch drops some variables from the
README and change the initialization of some variables in the Makefile
so that the two files would be in sync.
2020-09-08 16:24:39 +03:00
Kubernetes Prow Robot
535dd0bb3a
Merge pull request #351 from ArangoGutierrez/image_make
Fix Makefile to take vaules from ENV VAR values
2020-09-08 05:59:43 -07:00
Carlos Eduardo Arango Gutierrez
4bcb0cf851
Fix Makefile to take vaules from ENV VAR values
make image and make push fails when trying to use an ENV VAR value, as
it is now they can only be overrided.

the Var modified are
GO_CMD
GO_FMT
IMAGE_BUILD_EXTRA_OPTS
IMAGE_BUILD_CMD
IMAGE_PUSH_CMD
IMAGE_TAG_NAME
IMAGE_REGISTRY
IMAGE_NAME
IMAGE_EXTRA_TAG_NAMES
K8S_NAMESPACE
HOSTMOUNT_PREFIX

This new behaviour has also been updated on the README.

Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
2020-09-08 07:49:43 -05:00
Kubernetes Prow Robot
cf21e415dd
Merge pull request #349 from marquiz/devel/golangci-lint
scripts: update golangci-lint to v1.30.0 in verify.sh
2020-09-08 04:47:43 -07:00
Kubernetes Prow Robot
4a0c44550f
Merge pull request #354 from marquiz/devel/readme
README: add Community section
2020-09-08 04:33:42 -07:00
Markus Lehtonen
fff8c811f1 README: add Community section 2020-09-08 13:28:43 +03:00
Kubernetes Prow Robot
9df73b8ace
Merge pull request #326 from marquiz/devel/prune
nfd-master: implement --prune flag
2020-09-07 04:51:42 -07:00
Markus Lehtonen
36aa100c8f README: add --prune and --kubeconfig flags
The bare minimum doc update.
2020-09-07 09:01:30 +03:00
Kubernetes Prow Robot
cb8943a377
Merge pull request #352 from ArangoGutierrez/master
Add prow badge
2020-09-06 21:51:42 -07:00
Markus Lehtonen
458dd8dc58 nfd-master: add --kubeconfig flag
Useful with --prune and for development purposes.
2020-09-07 07:51:42 +03:00
Markus Lehtonen
4669770020 nfd-master: implement --prune flag
A new sub-command like flag for cleaning up a cluster. When --prune is
specified nfd-master removes all NFD related labels, annotations and
extended resources from all nodes of the cluster and exits.

This should help undeployment of NFD and be useful for development.
2020-09-07 07:51:42 +03:00
Markus Lehtonen
6869a99ceb nfd-master: fix one docstring 2020-09-07 07:51:42 +03:00
Carlos Eduardo Arango Gutierrez
59f64eba18
prow badge
Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
2020-09-06 16:48:58 -05:00