Tools to setup environment for container-based application. Inspired by GCP Cloud Run. Available to run as a single-node or multi-node cluster for High Availability.
This project includes a single app that provides tools to help quickly set up, manage, and maintain an MSR Cluster alongside the services.
k0s: Compact edition of Kubernetesk0sctl: Setup & maintain k0s clusterkube-rs: k8s driver for Rustkeda: Autoscale services to zero instances
- DNS wildcard subdomain to your cluster public IP
- Domain routing in MSR cluster Ingress Controller
- Each service is routed to a separate domain by the Ingress Controller
- MSR uses GitHub Actions & GitHub Packages as default for CI/CD & Container Registry
- Will use Gitea as an internal solution for lower networking cost and Github compatibility (which will use more hardware resources as a trade-off, especially Disk I/O)
- More external solutions will be added later
- Clone this repository
- Install dependencies:
yarn install - Open 2 terminals
- In terminal 1, run
yarn devto start the frontend - In terminal 2, change directory to
src-tauriand runcargo runto start the backend - Restart the backend when you make changes to the backend code, the frontend is hot-reloaded by default
Why not use
yarn tauri dev? Because it will cause the autocargo checkof rust-analyzer to run very slow, which is not recommended for development.
Make sure you have Tauri Pre-requisites installed: https://v2.tauri.app/start/prerequisites/