Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/billing/RUNBOOKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Operational runbooks for the billing module. Each runbook references real endpoi
1. Identify the divergence from the weekly reconciliation log:

```bash
kubectl logs -n pierreb-projects job/billing-reconcile-<timestamp>
kubectl logs -n <your-namespace> job/billing-reconcile-<timestamp>
```

Look for lines containing `divergence detected` — they include `orgId`, `stripeStatus`, `dbStatus`, `stripePlan`, `dbPlan`.
Expand Down Expand Up @@ -212,7 +212,7 @@ db.cron_locks.deleteOne({ _id: "billing.extrasExpiration" })
Or via `kubectl exec` on the mongo pod:

```bash
kubectl exec -n pierreb-projects mongo-0 -- mongosh \
kubectl exec -n <your-namespace> <your-mongo-pod> -- mongosh \
"mongodb://localhost:27017/<your-db>" \
--eval 'db.cron_locks.deleteOne({ _id: "billing.weeklyReset" })'
```
Expand Down
2 changes: 1 addition & 1 deletion modules/billing/crons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ apiVersion: batch/v1
kind: CronJob
metadata:
name: billing-weekly-reset
namespace: pierreb-projects
namespace: your-namespace # replace with your namespace
spec:
schedule: "0 1 * * *"
concurrencyPolicy: Forbid
Expand Down