Skip to content

Kubernetes-on-arm Raspberry PI temperature measurement server + web app

Notifications You must be signed in to change notification settings

jens18/rpi_temp

Repository files navigation

KubeTemp / RPITemp

Monitor Raspberry PI or x86 Kubernetes cluster node cpu temperature.

Note
cAdvisor is the 'build in' Kubernetes node monitoring dashboard (cpu, network, disk, processes) and API server. It does however not monitor the cpu temperatures.

API

rpi_temp

cpu temperature for a single Kubernetes cluster node.

JSON response:

{"temp":"48.6","cpuArch":"armv6l","hostName":"rpitemp3-zb55u"}

Note
hostName is the Kubernetes pod name.

kube_temp

cpu temperature for all active Kubernetes cluster nodes.

JSON response:

[{"ipAddress":"192.168.29.30","hostName":"salinas.mesgtone.lan.","nodeTemp":{"temp":"51.3","cpuArch":"armv6l","hostName":"rpitemp3-b9kjq"}},{"ipAddress":"192.168.29.31","hostName":"carmel.mesgtone.lan.","nodeTemp":{"temp":"53.6","cpuArch":"armv7l","hostName":"rpitemp3-yprbv"}},{"ipAddress":"192.168.29.34","hostName":"aptos.mesgtone.lan.","nodeTemp":{"temp":"47.6","cpuArch":"armv6l","hostName":"rpitemp3-zb55u"}},{"ipAddress":"192.168.29.38","hostName":"venice.mesgtone.lan.","nodeTemp":{"temp":"51.3","cpuArch":"armv6l","hostName":"rpitemp3-wmbmh"}}]

Minimal web app:

HTML response:

192.168.29.30: salinas.mesgtone.lan.: armv6l: 50.8 °C
192.168.29.31: carmel.mesgtone.lan.: armv7l: 53.1 °C
192.168.29.34: aptos.mesgtone.lan.: armv6l: 48.1 °C
192.168.29.38: venice.mesgtone.lan.: armv6l: 51.3 °C

Single page web app (SPA):

Using the following frameworks:

screenshot:

kubetemptop

About

Kubernetes-on-arm Raspberry PI temperature measurement server + web app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published