Skip to content
Mementropy
RecipesHomelab recipesReference

Running Kaneo with Silo S3 and Valkey on K3s

Kaneo 2.46.0 with Postgres, Valkey and Silo, with browser uploads working.

By Ryan Hammang

Status: Name resolution steps superseded by the coredns-custom recipe.

Kaneo with attachments on K3s.

  • Images: Kaneo 2.46.0, Postgres 16, Valkey 8, Silo
  • Two hostnames: one for Kaneo, one for Silo
  1. Deploy Postgres, Valkey and Silo, each with a volume where needed.
  2. Set Kaneo’s S3_ENDPOINT to the Silo hostname, for example http://silo.example.home.arpa. Set Silo’s CORS origin to the Kaneo hostname.
  3. Create two Ingresses, one per hostname.
  4. Make the Silo hostname resolve inside the cluster to Traefik. Use cluster DNS (see the coredns-custom recipe). The earlier per-pod hostAliases approach also works but has to be copied into each pod.
  5. Bootstrap the bucket with a Job that uses curl, not wget:
Terminal window
until curl -fsS http://silo:9000/minio/health/live; do sleep 2; done
  1. Under Argo CD, annotate the Job:
argocd.argoproj.io/hook: PostSync
argocd.argoproj.io/hook-delete-policy: BeforeHookCreation
  • /api/health returns {"status":"ok"}.
  • /api/config shows "hasImageUploads": true.
  • The Silo health endpoint returns 200.
  • Kaneo with attachments needs Valkey and Silo, not just Postgres.
  • Presigned URLs sign the Host header, so the browser and the pod must use the same Silo hostname.
  • The Silo image has no wget and no which. Use curl and command -v.