Skip to content

feat(argocd): deploy the danielpetty-com Pixelfed manifests #6647

Closed as not planned

Description

@dan-petty

Problem

Checked at devops-cli main 3f8f7a9.

Proposed remedy

  • k8s/argocd/apps/danielpetty-com-pixelfed.yaml: project danielpetty-com, the site repository, path: k8s/pixelfed, namespace danielpetty-com-pixelfed, the sync policy of Application danielpetty-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, severity warning: 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 test tests/fixtures/prometheus_rules/danielpetty_com_pixelfed_tests.yaml, which tests/prometheus/test_k8s_monitoring_alerting.py runs, and a runbook row in k8s/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,domain passes, and the Image Pins workflow and the kube-linter step pass in GitHub Actions on this pull request.
  • The promtool unit test of PixelfedQueueBacklog passes.
  • After the merge: kubectl -n argocd get application danielpetty-com-pixelfed -o jsonpath='{.status.sync.status} {.status.health.status}' prints Synced Healthy, and Job pixelfed-setup is Complete.
  • kubectl -n danielpetty-com-pixelfed get cluster pixelfed-db -o jsonpath='{.status.phase}' prints Cluster in healthy state.
  • kubectl -n danielpetty-com-pixelfed get pods -o wide shows 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:status says 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 after kubectl -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");' prints 50M.
  • 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 5432 succeeds, and the same command without the label fails.
  • devops cloudflare access status lists no application for pixelfed-danielpetty-com.<domain>, so the wildcard Access application covers it.
  • Prometheus has up == 1 for the redis_exporter and database targets, and its rules API lists PixelfedQueueBacklog.

Person steps

  1. 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.
  2. 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 above POST_MAX_SIZE gets 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 the readTimeout of the web entrypoint with the evidence.
  3. From a network outside the IP bypass, open the host: it shows the Access login.

Dependencies

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

Activity

  1. added
    type/feature
    source/agent
    status/new
    value/medium
    effort/medium
    scope/argocd
    on Nov 21, 2026
  2. dan-petty commented on Nov 21, 2026

    @dan-petty
    OwnerAuthor
  3. added
    priority/p2-medium
    on Nov 21, 2026
  4. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    Contributor

    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:

    • Pixelfed Kubernetes Helm chart deploy, results: 5
    • Pixelfed Horizon queue backlog Prometheus alert rule, results: 5
    • pixelfed federated photo sharing open source github, results: 5
    • Pixelfed documentation install requirements, results: 5

    Sources:

  5. dan-petty commented on Nov 21, 2026

    @dan-petty
    OwnerAuthor

    Closed as not planned. Application danielpetty-com (dan-petty/homelab#85) reads path k8s of the site repository, and its root kustomization includes k8s/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.

  6. removed
    status/new
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p2-mediumscope/argocdsource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions