An open API service indexing awesome lists of open source software.

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.

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