Skip to content

Instantly share code, notes, and snippets.

@johankok
Forked from alexellis/INSTRUCTIONS.md
Created June 21, 2018 15:16
Show Gist options
  • Save johankok/92d58845ebc5aa3cf01e69a353133e15 to your computer and use it in GitHub Desktop.
Save johankok/92d58845ebc5aa3cf01e69a353133e15 to your computer and use it in GitHub Desktop.
A daemonset for the blinkt
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: blinkt
labels:
app: blinkt
version: v1
spec:
template:
metadata:
labels:
name: blinkt
spec:
containers:
- securityContext:
privileged: true
image: alexellis2/progress-blinkt:red
name: blinkt
volumeMounts:
- mountPath: /sys
name: volume-sys
volumes:
- name: volume-sys
hostPath:
path: /sys
  • Turn off RPis and install Blinkt if you haven't already. Rounded edges should point outwards.
  • Power back up
  • Install Kubernetes (hopefully you've already done this)
  • Download the gist to a temporary file i.e. gist.yml
  • kubectl apply -f gist.yml

Let me know what happens. If you see a red animation going backwards and forwards then everything's working right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment