urcomputeringpal / nuc-node-led-controller

A Kubernetes DaemonSet designed for clusters of NUCs. Updates the LED Ring to reflect the status of the node.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A Kubernetes DaemonSet designed for clusters of NUCs. Updates the LED Ring to reflect the status of the node.

License:Apache License 2.0


Languages

Language:Go 83.8%Language:Dockerfile 16.2%