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

2702 commits

Author SHA1 Message Date
Markus Lehtonen
dea9406007 Use pod anti-affinity in the worker Job template spec
Use pod anti-affinity to explicitly indicate that pods should be
scheduled on separate nodes. And, remove the obscure and non-obvious
ports definition whose only purpose was to reach the same effect.
2019-06-21 10:29:53 +03:00
Kubernetes Prow Robot
cb2fbba043
Merge pull request #160 from marquiz/feature/travis
travis: add deploy step to automatically push docker image
2019-06-19 17:24:49 -07:00
Markus Lehtonen
3088382772 travis: add deploy step to automatically push the container image
Configure .travis.yml to automatically push builds on the master branch
to the container image registry (quay.io by default). This will
automatically make the latest "experimental" version of NFD, built from
the tip of the master branch, available in the upstream Docker
repository.

IMAGE_REPO_USER and IMAGE_REPO_PASSWORD environment variables must be
defined in the travis repositorys settings in order for the deployment
step to be triggered.
2019-06-18 16:23:25 +03:00
Markus Lehtonen
118146a1ee travis: build image using make
Better to use the same method that developers are supposed to use. Plus,
this creates runnable images (as NFD version is defined).
2019-06-18 16:23:25 +03:00
Markus Lehtonen
2cfb3ade5d Makefile: add IMAGE_BUILD_EXTRA_OPTS variable 2019-06-18 16:23:25 +03:00
Markus Lehtonen
a8e7259bf8 Makefile: add 'push' target
Now 'make push' can be used to push the container image to the remote
registry.
2019-06-18 16:23:25 +03:00
Kubernetes Prow Robot
d234ec12ac
Merge pull request #254 from marquiz/devel/pmem
source/memory: detect NVDIMM DAX mode
2019-06-14 04:08:23 -07:00
Markus Lehtonen
012f7e4946 source/memory: detect NVDIMM DAX mode
Extend NVDIMM (non-volatile DIMM) discovery by adding detection of DAX
mode, i.e. detection of regions in DAX/AppDirect mode.
The new label is:
    feature.node.kubernetes.io/memory-nv.dax: true
2019-06-11 09:58:30 +03:00
Kubernetes Prow Robot
a5d40648c0
Merge pull request #258 from marquiz/feature/fixes
kernel: fix undefined symbol error
2019-06-10 09:33:07 -07:00
Markus Lehtonen
6002a00750 kernel: fix undefined symbol error
Fix a build failure that slipped through when adding support for
non-binary kconfig options in #197,
2019-06-10 15:25:41 +03:00
Kubernetes Prow Robot
8c666cbdc2
Merge pull request #197 from marquiz/devel/kconfig
Support non-binary kconfig options in kernel feature source
2019-06-07 11:44:00 -07:00
Kubernetes Prow Robot
9df0daef99
Merge pull request #256 from askervin/make-yamls
Makefile: create default yamls, configurable namespace, docker-push
2019-06-05 03:55:52 -07:00
Antti Kervinen
9b96407b26 Makefile: create default yamls, configurable namespace
- Create default yamls for deploying master and worker.
- Use kube-system namespace by default.
- Configurable namespace:
  make IMAGE_REGISTRY=myhost:5000 K8S_NAMESPACE=my-nfd-devel
2019-06-05 13:13:53 +03:00
Kubernetes Prow Robot
14f98508ba
Merge pull request #257 from marquiz/devel/owners
Remove inactive approvers from OWNERS
2019-05-31 09:16:29 -07:00
Markus Lehtonen
51034aa8e4 Remove inactive approvers from OWNERS
Remove ConnorDoyle and flyingcougar from the OWNERS file. They haven't
been active in over a year and are not members of the Kubernetes-SIGs
org. We can easily add them back, later, if needed.
2019-05-31 18:38:12 +03:00
Kubernetes Prow Robot
5ae4574180
Merge pull request #250 from marquiz/devel/v0.4.0
Use v0.4.0 release in README and deployment templates and script
2019-05-28 10:01:57 -07:00
Markus Lehtonen
fa47b0178d Use v0.4.0 release in README and deployment templates and script
Also, slightly adjust the deployment instructions in README to point out
that the templates should now be usable as is to run the latest released
version of NFD.
2019-05-21 11:19:30 +03:00
Kubernetes Prow Robot
c9d84ea9f0
Merge pull request #251 from marquiz/devel/readme
README: update the outdated usage demo
2019-05-20 13:56:12 -07:00
Markus Lehtonen
4977c66610 README: update the outdated usage demo 2019-05-20 18:02:39 +03:00
Kubernetes Prow Robot
c231796c36
Merge pull request #249 from marquiz/devel/readme
README: miscellaneous corrections
2019-05-17 05:30:08 -07:00
Markus Lehtonen
ab094c3ddf README: miscellaneous corrections 2019-05-17 11:42:36 +03:00
Kubernetes Prow Robot
bc3fd5009d
Merge pull request #248 from marquiz/devel/fixes
Change the sed delimiter in deployment instructions
2019-05-15 06:04:27 -07:00
Markus Lehtonen
a4375327de Change the sed delimiter in deployment instructions
The former usage of slash as a delimiter did not play well together
with container image tags that usually contain slashes themselves.
2019-05-14 21:15:01 +03:00
Kubernetes Prow Robot
8996be7e09
Merge pull request #231 from Ethyling/change-label-prefix
Allow to change labels namespace
2019-05-14 07:43:13 -07:00
Kubernetes Prow Robot
7126b02432
Merge pull request #224 from marquiz/devel/cpuid
source/cpu: make cpuid configurable
2019-05-14 05:01:17 -07:00
Markus Lehtonen
88f694a177 cpu: remove unused import from cpuid_arm64 2019-05-13 17:17:02 +03:00
Markus Lehtonen
7c5f7d600e source/cpu: make cpuid configurable
Add 'cpuid/attributeBlacklist' and 'cpuid/attributeWhitelist' config
options for the cpu feature source. These can be used to filter the set
of cpuid capabilities that get published. The intention is to reduce
clutter in the NFD label space, getting rid of "obvious" or misleading
cpuid labels. Whitelisting has higher priority, i.e.  only whitelist
takes effect if both attributeWhitelist and attributeBlacklist are
specified.
2019-05-13 17:17:02 +03:00
Kubernetes Prow Robot
1752bb3e56
Merge pull request #243 from marquiz/devel/readme
Better document the difference between latest release and master branch
2019-05-10 13:16:20 -07:00
Kubernetes Prow Robot
b076d461b0
Merge pull request #246 from marquiz/devel/dep
Dockerfile: verbose dep ensure
2019-05-10 13:14:15 -07:00
Markus Lehtonen
6563da29ab Dockerfile: verbose dep ensure
Better see what is happening inside the build.
2019-05-10 15:50:53 +03:00
Markus Lehtonen
a0fb0c6561 Better document the difference between latest release and master branch
Point to the latest release in the README, and, point out that a
user-built custom image is required to run the latest development
version. Update the deployment instructions to reflect the need to
specify the container image when using the deployment spec template(s).
Also, update the Job deployment script to set a user-defined container
image.
2019-05-10 15:17:31 +03:00
Jordan Jacobelli
40918827f6
Allow to change labels namespace
The aim here is to allow to override the default namespace
of NFD. The allowed namespaces are whitelisted.
See https://github.com/kubernetes-sigs/node-feature-discovery/issues/227

Signed-off-by: Jordan Jacobelli <jjacobelli@nvidia.com>
2019-05-09 13:17:52 -07:00
Kubernetes Prow Robot
c459ceee67
Merge pull request #217 from marquiz/devel/source-reorg
sources: move all cpu related features under the cpu source
2019-05-09 11:22:49 -07:00
Markus Lehtonen
655f5c5555 sources: move all cpu related features under the cpu source
Remove 'cpuid', 'pstate' and 'rdt' feature sources and move their
functionality under the 'cpu' source. The goal is to have a more
systematic organization of feature sources and labels. After this change
we now basically have one source per type of hw, one for kernel and one
for userspace sw.

Related feature labels are changed, correspondingly, new labels being:
    feature.node.k8s.io/cpu-cpuid.<cpuid flag>
    feature.node.k8s.io/cpu-pstate.turbo
    feature.node.k8s.io/cpu-rdt.<rdt feature>
2019-05-09 20:18:36 +03:00
Markus Lehtonen
c9c9a3f0f0 Use a placeholder for the container image in the template specs
The templates were not compatible with the image they were pointing to
(v0.3.0).
2019-05-09 20:06:18 +03:00
Kubernetes Prow Robot
5b73e271ba
Merge pull request #244 from marquiz/devel/deps
Update deps after dropping glog
2019-05-09 09:12:51 -07:00
Markus Lehtonen
d09a7cb77c Update deps after dropping glog 2019-05-09 14:02:08 +03:00
Kubernetes Prow Robot
123ca9d9ef
Merge pull request #241 from marquiz/devel/fixes-237
nfd-master: fix --label-whitelist
2019-05-08 15:06:48 -07:00
Markus Lehtonen
470cf8dff2 nfd-master: correct a mistake in unit tests
Annotations were not correctly checked when testing
mockServer.updateNodeFeatures().
2019-05-08 23:07:52 +03:00
Markus Lehtonen
7f43a3db4e nfd-master: fix --label-whitelist
Make the --label-whitelist effective. Previously, it was unused and had
no effect. Also, add simple unit test for that.
2019-05-08 23:07:52 +03:00
Kubernetes Prow Robot
6975afd1fa
Merge pull request #242 from marquiz/devel/readme-links
README: fix two outdated hyperlinks
2019-05-08 11:48:34 -07:00
Kubernetes Prow Robot
a530e7edd8
Merge pull request #100 from marquiz/feature/dockerignore
Update dockerignore
2019-05-08 10:04:36 -07:00
Markus Lehtonen
a704321873 README: fix two outdated hyperlinks 2019-05-08 14:45:25 +03:00
Markus Lehtonen
fbd76d7acd Update dockerignore
Exclude git files and dockerignore itself. Also, update some outdated
entries and sort the file.
2019-05-08 11:45:32 +03:00
Kubernetes Prow Robot
548c066ee9
Merge pull request #150 from marquiz/feature/logging
Simplify logging
2019-05-07 16:46:33 -07:00
Kubernetes Prow Robot
262e41a78c
Merge pull request #240 from marquiz/devel/fixes
apihelpers: drop unused fields from K8sHelpers
2019-05-07 09:01:51 -07:00
Kubernetes Prow Robot
75408d21fb
Merge pull request #238 from Ethyling/reviewer-ethyling
Add Ethyling to OWNERS file
2019-05-07 00:43:40 -07:00
Markus Lehtonen
5553259062 apihelpers: drop unused fields from K8sHelpers 2019-05-07 10:37:16 +03:00
Jordan Jacobelli
ec1ab2b74e
Add Ethyling to OWNERS file
Signed-off-by: Jordan Jacobelli <jjacobelli@nvidia.com>
2019-05-06 09:18:14 -07:00
Markus Lehtonen
75a8f0c146 Refactor APIHelpers
Remove functionality that was not interacting with Kubernetes API.
Makes the architecture a bit simpler and simplifies testing.
2019-05-06 16:26:41 +03:00