# LiteCharms.Scheduler The background processing engine responsible for automated tasks and scheduled jobs. ## 🏗 Architecture * **Type:** Kubernetes **StatefulSet** * **Persistence:** Uses Postgres at `192.168.1.170`. * **Clustering:** Configured for Quartz.NET/Hangfire clustering to support multiple replicas without task duplication. ## 🚀 CI/CD Workflow * **Trigger:** Pull Request to `master`. * **Versioning:** Automated Gitea Releases with links to Docker and NuGet artifacts. * **Identity:** Uses stable network identifiers (`litecharms-scheduler-0`, etc.) to maintain lock integrity in the database. ## ⚙️ Scaling To scale the scheduler: `kubectl scale statefulset litecharms-scheduler --replicas=3` *Note: Ensure Database Job Store is enabled in appsettings before scaling.*