Repository navigation
Closed as not planned
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard workscope/argocdArgo CD sync, projects and the devops applicationsource/agentFiled by an agenttype/featureType feature: a new functionvalue/mediumValue Medium
Description
Problem
Checked at devops-cli main 3f8f7a9.
- feat(k8s): add the Pixelfed database and Valkey manifests danielpetty.com#30, dan-petty/danielpetty.com#31 and feat(k8s): add the Pixelfed Horizon worker, scheduler and media route danielpetty.com#32 add
k8s/pixelfed/to dan-petty/danielpetty.com. No Application syncs it. feat(argocd): accept the site repository as an outside source #6643 (through feat(argocd): deploy the danielpetty-com event-stream from its repository #6644) lets the devops-cli checks accept that source. - Pixelfed runs at
pixelfed-danielpetty-com.<domain>, one label under the zone. The wildcard DNS record, tunnel route and edge certificate cover it, and the wildcard Access application keeps it owner-only. Owner decision on feat(activitypub): Fix actor follow and 404 object/note URLs danielpetty.com#8 (2026-11-21): the cluster host is temporary, and federation comes later on the final domain. So this host gets no Bypass application. k8s/catalog.tomlhas no entry for Pixelfed, and no alert covers its queue.- The Traefik
webentrypoint sets norespondingTimeouts(k8s/ingress/traefik-values.yaml), so the Traefik defaultreadTimeoutof 60 s applies to the full request. A 50 MB upload on a slow link can take longer. The need for a change is not proven, and the entrypoint is shared by every host. - The site Compose file runs each artisan command as
www-datathroughgosu. A root run of artisan can leave files owned by root in the shared storage volume.
Proposed remedy
k8s/argocd/apps/danielpetty-com-pixelfed.yaml: projectdanielpetty-com, the site repository,path: k8s/pixelfed, namespacedanielpetty-com-pixelfed, the sync policy of Applicationdanielpetty-com(feat(argocd): deploy the danielpetty-com event-stream from its repository #6644) without the Image Updater parts. Argo CD runs the setup Job of dan-petty/danielpetty.com#31 as a Sync hook after the database and Valkey waves.k8s/catalog.toml: a[[service]]danielpetty-com-pixelfed,applications = ["danielpetty-com-pixelfed"],tier = 3,data_class = "owned".k8s/monitoring/prometheus-values.yaml:PixelfedQueueBacklog, severitywarning: a Horizon queue holds more than 100 jobs for 30 minutes (redis_exporter--check-keys, feat(k8s): add the Pixelfed database and Valkey manifests danielpetty.com#30). Add the promtool unit testtests/fixtures/prometheus_rules/danielpetty_com_pixelfed_tests.yaml, whichtests/prometheus/test_k8s_monitoring_alerting.pyruns, and a runbook row ink8s/README.md.k8s/README.md, Cloudflare section: the Pixelfed host stays behind the wildcard Access application until the final-domain feature.
Premise check: as in #6642 (#5134 plan step 12).
Acceptance criteria
-
uv run devops ci --check --only k8s,kube-linter,domainpasses, and the Image Pins workflow and the kube-linter step pass in GitHub Actions on this pull request. - The promtool unit test of
PixelfedQueueBacklogpasses. - After the merge:
kubectl -n argocd get application danielpetty-com-pixelfed -o jsonpath='{.status.sync.status} {.status.health.status}'printsSynced Healthy, and Jobpixelfed-setupis Complete. -
kubectl -n danielpetty-com-pixelfed get cluster pixelfed-db -o jsonpath='{.status.phase}'printsCluster in healthy state. -
kubectl -n danielpetty-com-pixelfed get pods -o wideshows the web, Horizon, scheduler, Valkey and database pods Ready with 0 restarts after 30 minutes, and the three Pixelfed pods on one node. -
kubectl -n danielpetty-com-pixelfed exec deploy/pixelfed-horizon -- gosu www-data php artisan horizon:statussays that Horizon runs. -
kubectl -n danielpetty-com-pixelfed exec deploy/pixelfed-web -- gosu www-data php artisan tinker --execute='echo hash("sha256", config("app.key"));'prints the same hash before and afterkubectl -n danielpetty-com-pixelfed delete pod -l app.kubernetes.io/name=pixelfed-web. -
kubectl -n danielpetty-com-pixelfed exec deploy/pixelfed-web -- gosu www-data php -r 'echo ini_get("post_max_size");'prints50M. -
kubectl -n danielpetty-com-pixelfed run np-test --rm -i --restart=Never --image=busybox:1.37 -l app.kubernetes.io/part-of=pixelfed -- nc -z -w 3 pixelfed-db-rw 5432succeeds, and the same command without the label fails. -
devops cloudflare access statuslists no application forpixelfed-danielpetty-com.<domain>, so the wildcard Access application covers it. - Prometheus has
up == 1for the redis_exporter and database targets, and its rules API listsPixelfedQueueBacklog.
Person steps
- Make the admin user:
kubectl -n danielpetty-com-pixelfed exec -it deploy/pixelfed-web -- gosu www-data php artisan user:create. Give it your own password. - As the owner, through Access: log in, upload a photo near the configured
MAX_PHOTO_SIZE, and see it in the feed after Horizon processes it. A body abovePOST_MAX_SIZEgets 413. If the upload fails with a 5xx after about 60 s, write it on this issue; an agent then files a devops-cli issue for thereadTimeoutof thewebentrypoint with the evidence. - From a network outside the IP bypass, open the host: it shows the Access login.
Dependencies
- feat(argocd): deploy the danielpetty-com event-stream from its repository #6644: the Application pattern and, through it, feat(argocd): accept the site repository as an outside source #6643.
- feat(k8s): add the danielpetty-com-pixelfed namespace and Secrets #6645: the namespace and the pushed Secrets.
- dan-petty/danielpetty.com#31 and feat(k8s): add the Pixelfed Horizon worker, scheduler and media route danielpetty.com#32:
k8s/pixelfed/on themainbranch of the site repository.
Alternatives check of 2026-11-21: in-use.
The item already names this tool.
Tool: pixelfed/pixelfed (https://github.com/pixelfed/pixelfed), AGPL-3.0, last activity 2026-11-21, maintained.
Reason: Searches returned no Helm chart, operator or alert pack for Pixelfed, but Pixelfed itself is the maintained open application the issue deploys; it covers the running instance, while the Argo CD, catalog and alert glue stay repository-local.
Covers:
- Federated photo sharing web application
- Horizon queue workers and scheduler for jobs
- Artisan commands for users, app key and limits
- Redis-backed storage shared by web and workers
Lacks:
- No Argo CD Application or Helm chart
- No Prometheus rule for queue backlog
- No Traefik timeout or Cloudflare Access setup
- No catalog, tier or runbook wiring
Metadata
Metadata
Assignees
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard workscope/argocdArgo CD sync, projects and the devops applicationsource/agentFiled by an agenttype/featureType feature: a new functionvalue/mediumValue Medium
Activity
dan-petty commentedon Nov 21, 2026
Both target Pixelfed on the danielpetty-com site, but 6645 adds the namespace and Secrets while this item adds the Argo CD Application, catalog row, and queue alert.devops-cli-service commentedon Nov 21, 2026
The result in the alternatives block of the issue body changed. Before this check: no check. A person decides what the new result means for the item.
Searches (4)
Tools considered:
Searches run:
Sources:
dan-petty commentedon Nov 21, 2026
Closed as not planned. Application
danielpetty-com(dan-petty/homelab#85) reads pathk8sof the site repository, and its root kustomization includesk8s/pixelfed(dan-petty/danielpetty.com#31), so no second Application and no devops-cli file are needed. The live checks of this item move to dan-petty/danielpetty.com#31 and #32. The catalog row and the queue alert are not planned in the platform; a service ships its own alert rules and dashboards through the generic paths of dan-petty/homelab#83 and dan-petty/homelab#84.