diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-07 22:48:29 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-07 22:48:29 +0200 |
| commit | f7624de03b894d31347ec15c9571e8cfe83903ff (patch) | |
| tree | 88a35208c57c3fc7be94196574a99ce3322e522f /f3s/tracing-demo/Justfile | |
| parent | f1925c872c496c914da99fcbf3a07c9292e911a7 (diff) | |
Migrate 8 remaining simple service apps to ArgoCD
Apps migrated in this commit:
- anki-sync-server (custom images, 1 PVC)
- syncthing (file sync, 2 PVCs)
- audiobookshelf (3 PVCs)
- radicale (CalDAV/CardDAV)
- opodsync (podcast sync, 2-container pod)
- kobo-sync-server (eReader sync)
- filebrowser (3 PVCs)
- webdav (WebDAV server)
All apps:
- Created ArgoCD Application manifests
- Updated Justfiles with ArgoCD commands
- All synced successfully and healthy
- Zero downtime migrations
Also includes:
- Updated migration progress tracker (12/23 apps, 52%)
- Deleted freshrss directory (app no longer needed)
Progress: 12/23 apps (52%)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'f3s/tracing-demo/Justfile')
| -rw-r--r-- | f3s/tracing-demo/Justfile | 45 |
1 files changed, 29 insertions, 16 deletions
diff --git a/f3s/tracing-demo/Justfile b/f3s/tracing-demo/Justfile index d1bc474..79d2cdd 100644 --- a/f3s/tracing-demo/Justfile +++ b/f3s/tracing-demo/Justfile @@ -16,26 +16,39 @@ push: # Build and push images build-push: build push -# Install Helm chart -install: - helm install {{RELEASE_NAME}} {{CHART_PATH}} --namespace {{NAMESPACE}} --create-namespace +# Trigger ArgoCD sync +sync: + @echo "Triggering ArgoCD sync..." + @kubectl annotate application {{RELEASE_NAME}} -n cicd argocd.argoproj.io/refresh=normal --overwrite + @sleep 2 + @kubectl get application {{RELEASE_NAME}} -n cicd -o jsonpath='Sync: {.status.sync.status}, Health: {.status.health.status}' && echo "" -# Upgrade Helm chart -upgrade: - helm upgrade {{RELEASE_NAME}} {{CHART_PATH}} --namespace {{NAMESPACE}} - -# Delete Helm release -delete: - helm uninstall {{RELEASE_NAME}} --namespace {{NAMESPACE}} - -# Rebuild images, import, and upgrade deployment -rebuild: build import upgrade +# Show ArgoCD application details +argocd-status: + argocd app get {{RELEASE_NAME}} --core # Check deployment status status: - kubectl get pods -n {{NAMESPACE}} | grep tracing-demo - kubectl get svc -n {{NAMESPACE}} | grep -E '(frontend|middleware|backend)-service' - kubectl get ingress -n {{NAMESPACE}} tracing-demo-ingress + @echo "=== Pods ===" + @kubectl get pods -n {{NAMESPACE}} | grep tracing-demo + @echo "" + @echo "=== Services ===" + @kubectl get svc -n {{NAMESPACE}} | grep -E '(frontend|middleware|backend)-service' + @echo "" + @echo "=== Ingress ===" + @kubectl get ingress -n {{NAMESPACE}} tracing-demo-ingress + @echo "" + @echo "=== ArgoCD Status ===" + @kubectl get application {{RELEASE_NAME}} -n cicd -o jsonpath='Sync: {.status.sync.status}, Health: {.status.health.status}' 2>/dev/null && echo "" || echo "Not found" + +# Restart all pods +restart: + @echo "Restarting frontend..." + @kubectl rollout restart -n {{NAMESPACE}} deployment/tracing-demo-frontend + @echo "Restarting middleware..." + @kubectl rollout restart -n {{NAMESPACE}} deployment/tracing-demo-middleware + @echo "Restarting backend..." + @kubectl rollout restart -n {{NAMESPACE}} deployment/tracing-demo-backend # View logs from all services logs: |
