nuc-node-led-controller

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

README

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

Documentation

Overview

Copyright 2018 Jesse Newland

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL