diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-07 22:54:35 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-07 22:54:35 +0200 |
| commit | 9d9976ec7d325aefc3386bb1298cea8052732703 (patch) | |
| tree | 3625cc557202ff86106683e3523cac8d71caf369 /f3s/registry/Justfile | |
| parent | f7624de03b894d31347ec15c9571e8cfe83903ff (diff) | |
Migrate remaining 4 apps: example-apache-volume-claim, registry, pushgateway, immich
Apps migrated in this commit:
- example-apache-volume-claim (test namespace, 2 replicas, 1 PVC)
- registry (infra namespace, Docker registry, 1 PVC)
- pushgateway (monitoring namespace, Prometheus metrics)
- immich (multi-component: server, postgres, valkey, ML)
Also:
- Deleted unused example-apache directory
- Updated all Justfiles with ArgoCD commands
- All apps synced and healthy
Progress: 16/22 active apps (73%)
Remaining apps (all in monitoring namespace):
- prometheus (kube-prometheus-stack)
- loki (umbrella chart)
- tempo
- grafana-ingress
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'f3s/registry/Justfile')
| -rw-r--r-- | f3s/registry/Justfile | 39 |
1 files changed, 31 insertions, 8 deletions
diff --git a/f3s/registry/Justfile b/f3s/registry/Justfile index 297d95a..d45838f 100644 --- a/f3s/registry/Justfile +++ b/f3s/registry/Justfile @@ -1,12 +1,35 @@ NAMESPACE := "infra" -RELEASE_NAME := "registry" -CHART_PATH := "./helm-chart" +APP_NAME := "registry" -install: - helm install {{RELEASE_NAME}} {{CHART_PATH}} --namespace {{NAMESPACE}} --create-namespace +status: + @echo "=== Pods ===" + @kubectl get pods -n {{NAMESPACE}} | grep registry + @echo "" + @echo "=== Service ===" + @kubectl get svc -n {{NAMESPACE}} docker-registry-service + @echo "" + @echo "=== PVC ===" + @kubectl get pvc -n {{NAMESPACE}} docker-registry-pvc + @echo "" + @echo "=== ArgoCD Status ===" + @kubectl get application {{APP_NAME}} -n cicd -o jsonpath='Sync: {.status.sync.status}, Health: {.status.health.status}' 2>/dev/null && echo "" -upgrade: - helm upgrade {{RELEASE_NAME}} {{CHART_PATH}} --namespace {{NAMESPACE}} +logs lines="100": + kubectl logs -n {{NAMESPACE}} -l app=docker-registry --tail={{lines}} -f -delete: - helm uninstall {{RELEASE_NAME}} --namespace {{NAMESPACE}} +port-forward port="5000": + @echo "Forwarding docker registry to localhost:{{port}}" + kubectl port-forward -n {{NAMESPACE}} svc/docker-registry-service {{port}}:5000 + +sync: + @echo "Triggering ArgoCD sync..." + @kubectl annotate application {{APP_NAME}} -n cicd argocd.argoproj.io/refresh=normal --overwrite + @sleep 2 + @kubectl get application {{APP_NAME}} -n cicd -o jsonpath='Sync: {.status.sync.status}, Health: {.status.health.status}' && echo "" + +argocd-status: + argocd app get {{APP_NAME}} --core + +restart: + @echo "Restarting docker registry..." + kubectl rollout restart -n {{NAMESPACE}} deployment/docker-registry |
