Skip to content
Mementropy
Lab NotesHomelab notebookField note

The Silo init job failed because the image has no wget

The minimal image has curl. Switching the job to curl fixed it in 3 seconds.

By Ryan Hammang

I applied the Kaneo manifests. Postgres, Valkey, Silo and Kaneo all reached Running. The silo-init job, which creates the bucket and user, timed out after 120 seconds.

First check: which wget curl inside the Silo pod.

sh: line 1: which: command not found

So no which either. The POSIX builtin command -v worked and showed wget missing, with curl and mc present.

The Silo image is built on a minimal Red Hat UBI base. It ships curl, not wget.

On my older Docker Compose setup this never came up. Compose waited for Silo to be healthy before starting the bootstrap, so the script never needed its own HTTP wait loop.

I changed wget -qO- to curl -fsS in the bootstrap ConfigMap and recreated the job. It finished in 3 seconds:

silo-init: bucket kaneo-uploads private; user kaneo-app enabled with policy kaneo-uploads

Kaneo’s health endpoint returned ok, and image uploads are enabled.

Next time I’ll check what tools an image actually has before writing a script that runs inside it.

Recipes written later from this work: