Markus Lehtonen
52b143c5ee
Update owners file ( #107 )
...
* Update hyperlink to owners documentation
* Add marquiz as approver in the OWNERS file
2018-06-05 10:20:51 -07:00
Olev Kartau
e984154090
Added more Intel RDT capability discovery: CMT,MBM,MBA ( #120 )
...
Added Memory Bandwith Allocation (MBA) capability discovery.
Refined RDT monitoring capability detection;
Cache Monitoring Technology (CMT) and
Memory Bandwidth Monitoring (MBM)
capabilities can be detected separately.
2018-05-24 16:49:00 -07:00
Markus Lehtonen
01e2110a5c
Make it possible to run nfd as a DaemonSet ( #105 )
...
* Re-order imports in main.go alphabetically
* Refactor argument parsing
* Run nfd periodically in a loop by default
* Implement --sleep-interval command line option
* Add template for running nfd as a Kubernetes DaemonSet
2018-04-11 09:33:06 -07:00
Balaji Subramaniam
0150183f60
Merge pull request #117 from lubinsz/pr_readme
...
Add Arm64 details into the README
2018-04-10 16:42:24 -07:00
Balaji Subramaniam
e866b8155d
Merge pull request #112 from marquiz/feature/cmt-cat-ver
...
Use a specific released version of intel-cmt-cat
2018-04-10 16:39:46 -07:00
Balaji Subramaniam
0e4c7a6617
Merge pull request #106 from chaitanyaenr/selinux
...
Add label to advertise selinux status
2018-04-10 16:38:09 -07:00
Markus Lehtonen
0440c8eabc
Use a specific released version of intel-cmt-cat
...
This makes the build more deterministic. Previously, nfd just blindly
took the tip revision from intel-cmt-cat master branch which could brake
the build without any changes in nfd itself.
2018-04-10 11:04:14 +03:00
Bin Lu
0bb901edb3
Add Arm64 details into the README
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2018-04-10 14:05:39 +08:00
Naga Ravi Chaitanya Elluri
60de66fc03
Advertise selinux status by adding labels
...
This commit:
- enables node-feature-dicovery to advertise selinux status
on the node by adding a label.
- update the template to mount /sys into the container, this is
needed to know about the selinux status on the host
- adds selinux source for unit tests
2018-04-09 16:13:45 -04:00
Balaji Subramaniam
1314a5f4c0
Merge pull request #91 from marquiz/feature/proxy-settings
...
Export proxy env vars inside docker build
2018-04-09 10:20:48 -07:00
Markus Lehtonen
bb32ef83f7
Export proxy env vars inside docker build
...
Without correct proxy settings propagated to docker build it is not possible to
build node-feature-discovery from behind a proxy server, e.g. in corporate
networks. This patch fixes the issue by exporting all http(s) proxy related
environment variables as build-time variables.
2018-04-03 12:46:33 +03:00
Balaji Subramaniam
b834cf65d2
Merge pull request #96 from okartau/add-multinode
...
Add memory source and NUMA detection.
2018-04-02 14:52:29 -07:00
Olev Kartau
00615be083
Add memory source and NUMA detection.
...
If multiple nodes are marked online in
/sys/devices/system/node/online, it's a sign of NUMA
architecture. Mark it using nfd-memory-numa label.
2018-03-29 09:43:42 +03:00
Balaji Subramaniam
e7b5d6eebd
Merge pull request #95 from okartau/add-disk-nonrotational
...
Added nonrotational storage detection
2018-03-27 11:30:53 -07:00
Olev Kartau
e22ae236cd
Added nonrotational storage detection
...
This change adds feature source "storage".
Add label if any non-rotational block device is present in the node.
The label will be: nfd-storage-nonrotationaldisk=true
2018-03-27 14:30:27 +03:00
Markus Lehtonen
348f3a7f89
Remove hardcoding of nfd source path ( #94 )
...
* Make rdt-discovery buildable outside hardcoded path
Do not assume that nfd sources always reside under hardcoded directory
"/go/src/github.com/kubernetes-incubator/node-feature-discovery/". This
makes it possible e.g. to build nfd locally outside the Docker
container.
* Do not hardcode the path for RDT helper binaries
Utilize the standard PATH env variable, instead.
2018-03-16 09:56:35 -07:00
Olev Kartau
aaeba895c6
Get node name from spec.nodeName instead of indirectly from pod. ( #93 )
...
spec.nodeName allows to get node name directly, without
using pod and podnamespace as intermediate steps.
2018-03-12 09:04:37 -07:00
Olev Kartau
15559903a0
Improve GoReportCard metrics, both gofmt and golint ( #90 )
...
* Format main,fake,network go source to improve GoReportCard
Order of import changed in main.go and network.go,
missing ending newline added in fake.go
* Fixed simple golint suggestions in multiple files
Mostly about missing or incomplete comments
2018-03-05 07:51:47 -08:00
Markus Lehtonen
b999a1a6f4
Fix unit tests ( #98 )
...
* Update unit tests
Make the unit tests pass, again.
* Update project dependencies
* Enable unittests in travis
2018-03-01 10:49:57 -08:00
Balaji Subramaniam
680f55d07b
Merge pull request #88 from lubinsz/master
...
enable nfd framework on Arm64 platform
2018-01-10 09:07:30 -08:00
Bin Lu
4fc45c95d1
enable nfd framework on Arm64 platform
...
currently, nfd framework can't be work on Arm64 platform.
Fix points:
1, removed rdt on Arm64 platform
2, optimized the code related to multi-arch
Change-Id: If605041f6d2243ae2afb3248edbf102083c6dcb4
Signed-off-by: Bin Lu <bin.lu@arm.com>
Jira: ENTOS-432
2018-01-10 00:46:37 -05:00
Balaji Subramaniam
5ef9229a62
Merge pull request #89 from spiffxp/update-code-of-conduct
...
Update code-of-conduct.md
2017-12-20 18:54:50 -08:00
Aaron Crickenberger
97455b0a1b
Update code-of-conduct.md
...
Refer to kubernetes/community as authoritative source for code of conduct
2017-12-20 14:12:51 -05:00
swatisehgal
41da99a435
Adding SR-IOV capability discovery to node-feature-discovery ( #49 )
...
* Adding SR-IOV capability discovery to node-feature-discovery
* SR-IOV capability discovery in NFD : code update after PR review
- using hostnetwork instead of volume mount in file node-feature-discovery-job.json.template
- iterating through network interfaces that are "up" in sources.go
- inserting logs in sources.go
- change in feature source name from "netid" to "network" in sources.go, README.md and main.go
* Added code for labels sriov=true (sriov_totalvfs > 0) and sriov-configured=true (sriov_numvfs > 0)
* Code Refactored: Added Network package and network.go
2017-11-28 15:47:11 +01:00
Michał Stachowski
59b0d5000a
Add support for Kubernetes 1.8+ ( #82 )
...
bump client version 5.0.2
2017-11-21 12:21:56 +01:00
Balaji Subramaniam
49f58a9c1e
Merge pull request #81 from intelsdi-x/own
...
Add flyingcougar in OWNERS file
2017-11-20 08:46:36 -08:00
Szymon Scharmach
def8ca93e2
Add flyingcougar in OWNERS file
2017-11-20 11:09:28 +01:00
Balaji Subramaniam
a439acb44a
Merge pull request #79 from spiffxp/assignees-to-approvers
...
Rename OWNERS assignees: to approvers:
2017-11-01 09:46:13 -07:00
Aaron Crickenberger
f82889bb23
Rename OWNERS assignees: to approvers:
...
They are effectively the same, assignees is deprecated
2017-10-31 17:52:16 -07:00
Andy Xie
0ea8ff631e
refactor sources to source pkg
2017-09-05 21:35:33 -07:00
nfd-merge-bot
b34ad30ad6
Merge pull request #70 from mbssaiakhil/patch-3
...
Automatic merge from submit-queue
Update Community Code of Conduct
2017-08-15 09:46:19 -07:00
Malepati Bala Siva Sai Akhil
c37036a604
Update Community Code of Conduct
...
Update Community Code of Conduct from kubernetes/kubernetes-template-project
2017-08-15 20:22:58 +05:30
nfd-merge-bot
e8059c2f65
Merge pull request #69 from asifdxtreme/patch-2
...
Automatic merge from submit-queue
Fix Typo to improve GoReportCard
2017-08-14 11:26:45 -07:00
nfd-merge-bot
944ca4b5d5
Merge pull request #68 from asifdxtreme/patch-1
...
Automatic merge from submit-queue
Add GoReport Card Widget
2017-08-14 11:26:40 -07:00
nfd-merge-bot
124b3c43a7
Merge pull request #66 from mbssaiakhil/patch-1
...
Automatic merge from submit-queue
Fix Typo in Events Code of Conduct
2017-08-14 11:26:35 -07:00
nfd-merge-bot
40d8ebc683
Merge pull request #67 from mbssaiakhil/patch-2
...
Automatic merge from submit-queue
Fix Typo in node-feature-discovery README
2017-08-14 11:26:30 -07:00
Mohammad Asif Siddiqui
c786cd21ca
Fix Typo to improve GoReportCard
2017-08-14 21:13:45 +08:00
Mohammad Asif Siddiqui
b6541ae44c
Add GoReport Card Widget
2017-08-14 21:11:23 +08:00
Malepati Bala Siva Sai Akhil
aff1747816
Fix Typo in node-feature-discovery README
2017-08-14 00:46:45 +05:30
Malepati Bala Siva Sai Akhil
dd32bace93
Fix Typo in Events Code of Conduct
2017-08-14 00:44:34 +05:30
nfd-merge-bot
cac97d2e56
Merge pull request #63 from balajismaniam/improve-test-coverage
...
Automatic merge from submit-queue
Improved unit test coverage.
Relates to #62 . Coverage is now at 64%.
- Refactored code for testing purposes.
- Misc. comment changes.
2016-12-19 14:46:23 -08:00
Balaji Subramaniam
689dfbe1c8
Improved unit test coverage.
...
- Refactored code for testing purposes.
- Misc. comment changes.
2016-12-19 13:54:08 -08:00
nfd-merge-bot
675d8aa24a
Merge pull request #60 from balajismaniam/clean-up-rdt-helpers
...
Automatic merge from submit-queue
Clean-up RDT helper programs.
Manually tested.
2016-12-12 12:06:10 -08:00
Balaji Subramaniam
7ad53e38de
Clean-up RDT helper programs.
2016-12-12 11:26:15 -08:00
nfd-merge-bot
e744979edb
Merge pull request #59 from balajismaniam/use-exit-status-rdt-discovery
...
Automatic merge from submit-queue
Upated RDT Discovery() to use exit status
Fixes #42
- Updated RDT helper programs.
Manually tested. See below.
```sh
>docker run quay.io/kubernetes_incubator/node-feature-discovery:b44b054-dirty --no-publish
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/node-feature-discovery.version = b44b054-dirty
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-SSE = true
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-SSSE3 = true
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-AESNI = true
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-CLMUL = true
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-RDSEED = true
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-CMOV = true
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-NX = true
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-SSE4.1 = true
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-SSE4.2 = true
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-AVX = true
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-MMX = true
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-MMXEXT = true
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-SSE2 = true
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-SSE3 = true
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-CX16 = true
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-LZCNT = true
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-POPCNT = true
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-RDRAND = true
2016/12/09 22:53:32 node.alpha.kubernetes-incubator.io/nfd-cpuid-RDTSCP = true
2016/12/09 22:53:32 support for RDT monitoring was not detected: exit status 1
2016/12/09 22:53:32 support for RDT L3 allocation was not detected: exit status 1
2016/12/09 22:53:32 support for RDT L2 allocation was not detected: exit status 1
2016/12/09 22:53:32 discovery failed for source [pstate]: can't detect whether turbo boost is enabled: open /sys/devices/system/cpu/intel_pstate/no_turbo: no such file or directory
2016/12/09 22:53:32 continuing ...
```
```sh
root@d1k8s:~/balajismaniam/node-feature-discovery# docker run quay.io/kubernetes_incubator/node-feature-discovery:eef0a6c --no-publish
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/node-feature-discovery.version = eef0a6c-dirty
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-SSSE3 = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-SSE4.1 = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-AESNI = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-MMX = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-SSE = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-FMA3 = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-F16C = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-BMI1 = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-CMOV = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-NX = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-SSE3 = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-AVX2 = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-HTT = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-ADX = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-AVX = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-RTM = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-RDTSCP = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-POPCNT = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-HLE = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-RDRAND = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-SSE2 = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-CLMUL = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-CX16 = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-MMXEXT = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-SSE4.2 = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-LZCNT = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-BMI2 = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-RDSEED = true
2016/12/09 22:49:37 node.alpha.kubernetes-incubator.io/nfd-cpuid-ERMS = true
2016/12/09 22:49:38 node.alpha.kubernetes-incubator.io/nfd-rdt-RDTMON = true
2016/12/09 22:49:38 node.alpha.kubernetes-incubator.io/nfd-rdt-RDTL3CA = true
2016/12/09 22:49:38 support for RDT L2 allocation was not detected: exit status 1
2016/12/09 22:49:38 node.alpha.kubernetes-incubator.io/nfd-pstate-turbo = true
```
2016-12-09 15:36:31 -08:00
Balaji Subramaniam
eef0a6c185
Upated RDT Discovery() to use exit status
...
- Updated RDT helper functions.
2016-12-09 14:40:45 -08:00
nfd-merge-bot
0569d224da
Merge pull request #58 from balajismaniam/fix-nfd-version-suffix
...
Automatic merge from submit-queue
Fix to report the correct version inside container.
Fixes https://github.com/kubernetes-incubator/node-feature-discovery/issues/54 . Tested manually.
- Removed demo directory from .dockerignore.
2016-12-09 14:06:30 -08:00
Balaji Subramaniam
d527d588f3
Fix to report the correct version inside container.
...
- Used build args to pass the correct version.
2016-12-09 13:36:15 -08:00
nfd-merge-bot
b44b0549bd
Merge pull request #57 from kubernetes-incubator/milestones
...
Automatic merge from submit-queue
Add note about using GitHub milestones.
2016-12-08 14:46:27 -08:00
Connor Doyle
8922cb9c8e
Add note about using GitHub milestones.
2016-12-08 14:21:53 -08:00