Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

urcomputeringpal/nuc-node-led-controller

Repository files navigation

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.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published