Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mhdbs/k3s-iot-microservices-raspberrypi
The micro-services that runs on raspberry-pi-4 (can be run on 3 as well) with k3s (with or without cluster) - The micro-services which is nothing but, 1. Golang backend service, 2. Mongodb, 3. Frontend React-js, 4. LB-(Traefik)
https://github.com/mhdbs/k3s-iot-microservices-raspberrypi
Last synced: about 4 hours ago
JSON representation
The micro-services that runs on raspberry-pi-4 (can be run on 3 as well) with k3s (with or without cluster) - The micro-services which is nothing but, 1. Golang backend service, 2. Mongodb, 3. Frontend React-js, 4. LB-(Traefik)
- Host: GitHub
- URL: https://github.com/mhdbs/k3s-iot-microservices-raspberrypi
- Owner: mhdbs
- License: apache-2.0
- Created: 2020-07-18T14:27:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-18T15:01:01.000Z (over 4 years ago)
- Last Synced: 2024-01-26T05:13:07.265Z (10 months ago)
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# k3s-iot-microservices-raspberrypi
This is repo is all about running an IOT-web application on Raspberrypi 4/3, with K3S (lightweight kubernetes by rancher), the applications which designed as microservices runs on k3s pods (may be in cluster or in single node) in rpi.
## Getting Started
To get start - Need to have a basic knowledge on Docker, Kubernetes, Raspberrypi, Node-MCU (ESP-8266)
### Prerequisites
The things needed to install on Raspberrypi - before going to steps do `apt-get update` on Rpi
```
Install Docker on Raspberrypi
* curl -sSL https://get.docker.com | sh
* sudo usermod -aG docker pi
``````
Install K3S on Raspberry pi
* curl -sfL https://get.k3s.io | sh -
```### Test services on Local (Not ARM-platform)
Software installation needed on local not a docker installation.
* [Golang](https://golang.org/dl/) - Golang for backend service.
* [Mongodb](https://docs.mongodb.com/manual/installation/) - Database Mongodb.
* [Nodejs](https://nodejs.org/en/download/) - Nodejs for frontend.
* [Arduino](https://www.arduino.cc/en/main/software) - Download arduino for client fetch and post datas to backend server.If so Docker nothing is needed to download on local setup (lap/pc).
* TBD (Add docker commands)## Running the tests
TBD
## Github pipeline integration
TBD
## Deployment
```
Run build.sh if the Raspberrypi has installed the prerequisite
* Docker
* K3S - Server
```## Author
* **Mohammed Bilal** - *Initial work* - [MHDBS](https://github.com/mhdbs)
## License
This project is licensed under the Apache License - see the [LICENSE.md](LICENSE.md) file for details