https://github.com/urcomputeringpal/nuc-node-led-controller
A Kubernetes DaemonSet designed for clusters of NUCs. Updates the LED Ring to reflect the status of the node.
https://github.com/urcomputeringpal/nuc-node-led-controller
intel-nuc kubernetes kubernetes-node nuc
Last synced: 5 months ago
JSON representation
A Kubernetes DaemonSet designed for clusters of NUCs. Updates the LED Ring to reflect the status of the node.
- Host: GitHub
- URL: https://github.com/urcomputeringpal/nuc-node-led-controller
- Owner: urcomputeringpal
- License: apache-2.0
- Archived: true
- Created: 2018-07-23T01:59:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-09T18:21:40.000Z (over 7 years ago)
- Last Synced: 2024-06-20T18:06:27.779Z (almost 2 years ago)
- Topics: intel-nuc, kubernetes, kubernetes-node, nuc
- Language: Go
- Homepage:
- Size: 3.65 MB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Nuc Node LED Controller
A few models of Intel NUCs have a dope [software-controllable LED](https://github.com/milesp20/intel_nuc_led) on their front panel. This is a Kubernetes controller that makes that LED reflect the status of the Kubernetes node running on that NUC.

## Default LED Settings
|Node Status |LED Ring |
|--------------|---------------|
|Ready |Solid green |
|Unschedulable |Pulsing yellow |
|Not Ready |Pulsing red |
|Error |Blinking red |
These can be be tweaked to your liking by editing [the `nuc-node-led-controller` configmap](./config/kubernetes/default/configmaps/nuc-node-led-controller.yaml).
## Installation
The Kubernetes manifests in [`config/kubernetes/default`](./config/kubernetes/default) will create a [ClusterRole](./config/kubernetes/default/clusterroles/nuc-node-led-controller.yaml) that allows this controller to get/list/watch Nodes and a [DaemonSet](./config/kubernetes/default/daemonsets/nuc-node-led-controller.yaml) that runs a copy of [`main.go`](./main.go) on each node.
* Install https://github.com/milesp20/intel_nuc_led on each of your NUCs
* Install [Skaffold](https://github.com/GoogleContainerTools/skaffold)
```
go get github.com/urcomputeringpal/nuc-node-led-controller
cd $GOPATH/github.com/urcomputeringpal/nuc-node-led-controller
skaffold deploy
```