A Kubernetes DaemonSet designed for clusters of NUCs. Updates the LED Ring to reflect the status of the node.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
config/kubernetes/default
vendor
.dockerignore
.gitignore
CODE_OF_CONDUCT.md
Dockerfile
Gopkg.lock
Gopkg.toml
LICENSE
README.md
cloudbuild.yaml
main.go
skaffold.yaml

README.md

Nuc Node LED Controller

A few models of Intel NUCs have a dope software-controllable 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.

img_2094

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.

Installation

The Kubernetes manifests in config/kubernetes/default will create a ClusterRole that allows this controller to get/list/watch Nodes and a DaemonSet that runs a copy of main.go on each node.

go get github.com/urcomputeringpal/nuc-node-led-controller
cd $GOPATH/github.com/urcomputeringpal/nuc-node-led-controller
skaffold deploy