This commit is contained in:
@@ -70,3 +70,31 @@ curl http://localhost:8080/health
|
||||
- Continuation chunks split at paragraph, then hard split at char boundaries
|
||||
- All sections emitted as single Record per section (RecordSource interface)
|
||||
|
||||
|
||||
## ✅ ArgoCD Deployment Setup
|
||||
|
||||
**Application created**: `poimen-memory-app` in ArgoCD
|
||||
- **Status**: Synced (awaiting image)
|
||||
- **Watches**: https://forgejo.riotpiao.com/rock/poimen-memory.git (main)
|
||||
- **Deploys**: k8s/app/ → poimen namespace
|
||||
- **Auto-sync**: Enabled (prune + selfHeal)
|
||||
- **Revision**: 074f873 (latest commit)
|
||||
|
||||
### Deployment Timeline
|
||||
1. ✅ ArgoCD Application created
|
||||
2. ⏳ Waiting for Forgejo CI to build Docker image
|
||||
3. ⏳ Once image available → pods will become Ready
|
||||
4. ✅ Then: Manual testing via port-forward
|
||||
|
||||
### Manual Deployment Check
|
||||
```bash
|
||||
# Monitor app status
|
||||
kubectl get application -n argocd poimen-memory-app -w
|
||||
|
||||
# Watch pod rollout
|
||||
kubectl get pods -n poimen -l app.kubernetes.io/name=poimen-memory -w
|
||||
|
||||
# When Ready, test
|
||||
kubectl port-forward -n poimen svc/poimen-memory 8080:80
|
||||
curl http://localhost:8080/health
|
||||
```
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
# Poimen Memory API Server
|
||||
# Auto-deployed and synced from main branch
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: poimen-memory-app
|
||||
namespace: argocd
|
||||
labels:
|
||||
app.kubernetes.io/name: poimen-memory
|
||||
app.kubernetes.io/component: api-server
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "72"
|
||||
spec:
|
||||
# Use the homelab project (allows poimen*.git repos)
|
||||
project: homelab
|
||||
source:
|
||||
repoURL: https://forgejo.riotpiao.com/rock/poimen-memory.git
|
||||
targetRevision: main
|
||||
path: k8s/app
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: poimen
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true # Delete resources removed from git
|
||||
selfHeal: true # Resync if cluster drifts
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
retry:
|
||||
limit: 5
|
||||
backoff:
|
||||
duration: 5s
|
||||
factor: 2
|
||||
maxDuration: 3m
|
||||
Reference in New Issue
Block a user