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

urcomputeringpal/nuc-node-led-controller

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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