TODO
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
kubectl create namespace sensors
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
helm install sensors charts/sensors --values charts/settings.yaml -n sensors