Skip to content

Sensors handles IoT devices mounted on Raspberry Pi modules in a Kubernetes cluster.

License

Notifications You must be signed in to change notification settings

torchiaf/Sensors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Sensors handles IoT devices mounted on Raspberry Pi modules in a Kubernetes cluster.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages