added to do list
Some checks are pending
Build juntekim.com / Push-to-juntekim-to-docker-hub (push) Waiting to run
Build juntekim.com / run-on-k8s (push) Blocked by required conditions
Build & Deploy stripe-to-invoice (with DB secrets + migrations) / build (push) Waiting to run
Build & Deploy stripe-to-invoice (with DB secrets + migrations) / Deploy Postgres (PV + PVC + Deployment) (push) Blocked by required conditions
Build & Deploy stripe-to-invoice (with DB secrets + migrations) / Apply runtime secrets (push) Blocked by required conditions
Build & Deploy stripe-to-invoice (with DB secrets + migrations) / Run DB migrations (Atlas) (push) Blocked by required conditions
Build & Deploy stripe-to-invoice (with DB secrets + migrations) / deploy (push) Blocked by required conditions
Some checks are pending
Build juntekim.com / Push-to-juntekim-to-docker-hub (push) Waiting to run
Build juntekim.com / run-on-k8s (push) Blocked by required conditions
Build & Deploy stripe-to-invoice (with DB secrets + migrations) / build (push) Waiting to run
Build & Deploy stripe-to-invoice (with DB secrets + migrations) / Deploy Postgres (PV + PVC + Deployment) (push) Blocked by required conditions
Build & Deploy stripe-to-invoice (with DB secrets + migrations) / Apply runtime secrets (push) Blocked by required conditions
Build & Deploy stripe-to-invoice (with DB secrets + migrations) / Run DB migrations (Atlas) (push) Blocked by required conditions
Build & Deploy stripe-to-invoice (with DB secrets + migrations) / deploy (push) Blocked by required conditions
This commit is contained in:
parent
1488009f7f
commit
713a791f53
2 changed files with 1 additions and 42 deletions
|
|
@ -1,13 +1,11 @@
|
|||
## Forgejo Backup (TODO)
|
||||
- [ ] Forgejo postgres backup via databasus same bucket but key would be postgres
|
||||
- [ ] Test restore from restic snapshot up
|
||||
|
||||
|
||||
## Set up runners
|
||||
|
||||
## set up docker image registry
|
||||
|
||||
## Migrate everything
|
||||
## Migrate everything else one at a time based on what i use
|
||||
|
||||
|
||||
# Migrate hyprland
|
||||
|
|
|
|||
|
|
@ -1,39 +0,0 @@
|
|||
# TODO
|
||||
|
||||
## Databasus — Migrate to Ceph + AWS Backups
|
||||
|
||||
> Files: `databasus/`
|
||||
|
||||
### Step 3 — Migrate PVC data (local → ceph)
|
||||
```bash
|
||||
# Scale down the app
|
||||
kubectl scale deployment databasus --replicas=0
|
||||
|
||||
# Create new ceph PVC
|
||||
kubectl apply -f databasus/databasus-storage.yaml
|
||||
|
||||
# Run migration job (copies /databasus-data from local PV → ceph PVC)
|
||||
kubectl apply -f databasus/databasus-migration-job.yaml
|
||||
kubectl wait --for=condition=complete job/databasus-migration --timeout=120s
|
||||
|
||||
# Verify data was copied
|
||||
kubectl logs job/databasus-migration
|
||||
```
|
||||
|
||||
### Step 4 — Deploy updated app
|
||||
```bash
|
||||
kubectl apply -f databasus/databasus-backup-secret.yaml
|
||||
kubectl apply -f databasus/databasus.yaml
|
||||
```
|
||||
|
||||
### Step 5 — Cleanup old local resources
|
||||
```bash
|
||||
kubectl delete pvc databasus-pvc-local
|
||||
kubectl delete pv databasus-pv
|
||||
kubectl delete job databasus-migration
|
||||
```
|
||||
|
||||
### Step 6 — Verify
|
||||
- Check app is running: `kubectl get pods -l app=databasus`
|
||||
- Check backup sidecar logs: `kubectl logs -l app=databasus -c backup`
|
||||
- Visit https://databasus.juntekim.com
|
||||
Loading…
Add table
Reference in a new issue