https://github.com/torchiaf/sensors
Sensors handles IoT devices mounted on Raspberry Pi modules in a Kubernetes cluster.
https://github.com/torchiaf/sensors
iot kubernetes rancher
Last synced: 2 months ago
JSON representation
Sensors handles IoT devices mounted on Raspberry Pi modules in a Kubernetes cluster.
- Host: GitHub
- URL: https://github.com/torchiaf/sensors
- Owner: torchiaf
- License: mit
- Created: 2022-06-20T13:30:48.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-17T23:22:51.000Z (over 1 year ago)
- Last Synced: 2025-03-11T22:51:59.820Z (over 1 year ago)
- Topics: iot, kubernetes, rancher
- Language: Go
- Homepage:
- Size: 396 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sensors
## Sensors handles IoT devices mounted on Raspberry Pi modules in a Kubernetes cluster.
### Hardware
TODO
### Create a k3s cluster
https://docs.k3s.io/quick-start#install-script
- Create a single node cluster
```
curl -sfL https://get.k3s.io | sh -
```
- Add Raspberry Pi agent nodes
```
curl -sfL https://get.k3s.io | K3S_URL=https://myserver:6443 K3S_TOKEN=mynodetoken sh -s - --node-name raspberrypi --node-label sensors.role=worker
```
### Create `sensors` namespace
kubectl create namespace sensors
### Install RabbitMQ
helm install rabbitmq-operator charts/rabbitmq-operator -n sensors
helm install rabbitmq-cluster charts/rabbitmq-cluster --values charts/settings.yaml -n sensors
- Wait for RabbitMQ operator and cluster to be ready
### Install Sensors
helm install sensors charts/sensors --values charts/settings.yaml -n sensors