11# Device Tree Kubernetes Node Labeller
22
3- This tool automatically labels nodes with [ devicetree] properties, useful for targeted deployments into hybrid
4- Kubernetes clusters, as well as for targeting heterogeneous accelerator resources in Edge deployments.
3+ This tool provides a custom Kubernetes controller for automatically labelling nodes with [ devicetree] properties.
54
6- [ devicetree ] : https://www.devicetree.org
5+ It is inspired by and re-uses much of the Kubernetes controller plumbing from the [ amdgpu-node-labeller] .
6+
7+ ## Use Cases
8+
9+ ` k8s-dt-node-labeller ` was developed in order to facilitate targeted deployments into hybrid (e.g. armhf, arm64)
10+ Kubernetes clusters, as well as for targeting heterogeneous accelerators in Edge deployments.
11+
12+ ## Usage
13+
14+ The node labeller is further expected to be run node-local, and will need to be invoked on each individual node
15+ requiring its own specific devicetree parsing and labelling.
716
817By default, ` compatible ` strings from the top-level ` / ` node are discovered and converted to node labels.
918
@@ -15,7 +24,7 @@ beta.devicetree.org/nvidia-jetson-nano: 1
1524beta.devicetree.org/nvidia-tegra210: 1
1625```
1726
18- node specifications are possible via the ` -n ` flag, as below:
27+ additional node specifications are possible via the ` -n ` flag, as below:
1928
2029```
2130$ k8s-dt-node-labeller -n gpu pwm-fan
@@ -33,9 +42,11 @@ beta.devicetree.org/pwm-fan: 1
3342This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant
3443agreement No 825480 ([ SODALITE] ).
3544
36- [ SODALITE ] : https://www.sodalite.eu
37-
3845## License
3946
4047` k8s-dt-node-labeller ` is licensed under the terms of the Apache 2.0 license, the full
4148version of which can be found in the LICENSE file included in the distribution.
49+
50+ [ devicetree ] : https://www.devicetree.org
51+ [ SODALITE ] : https://www.sodalite.eu
52+ [ amdgpu-node-labeller ] : https://github.com/RadeonOpenCompute/k8s-device-plugin/tree/master/cmd/k8s-node-labeller
0 commit comments