Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f62ac1bc71 | |||
| 544eef0e49 | |||
| a7b9e945a3 | |||
| 4a20c5ea5f |
@@ -45,6 +45,7 @@ steps:
|
||||
GITEA_USER: { from_secret: git_username }
|
||||
GITEA_PASS: { from_secret: git_password }
|
||||
commands:
|
||||
- echo "169.255.58.144 gitea.khongisa.co.za" >> /etc/hosts
|
||||
- apk add --no-cache curl
|
||||
- git remote set-url origin https://$${GITEA_USER}:$${GITEA_PASS}@gitea.khongisa.co.za/litecharms/scheduler.git
|
||||
- git tag 1.${DRONE_BUILD_NUMBER}
|
||||
|
||||
@@ -1 +1,18 @@
|
||||
# LiteCharms
|
||||
# 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.*
|
||||
Reference in New Issue
Block a user