Helm chartv26.9.0App 0.26.1Verified publisher

Spoolman is a self-hosted inventory manager for 3D-printer filament spools

About this chart

spoolman

Spoolman is a self-hosted inventory manager for 3D-printer filament spools

This chart is not maintained by the upstream project and any issues with the chart should be raised here

Source Code

Requirements

Kubernetes: >=1.31.0-0

Dependencies

RepositoryNameVersion
file://../commoncommon26.9.0

TL;DR

helm repo add retsamedoc https://retsamedoc.github.io/helm-charts/
helm repo update
helm install spoolman retsamedoc/spoolman

Installing the Chart

To install the chart with the release name spoolman

helm install spoolman retsamedoc/spoolman

Uninstalling the Chart

To uninstall the spoolman deployment

helm uninstall spoolman

The command removes all the Kubernetes components associated with the chart including persistent volumes and deletes the release.

Configuration

Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the common library.

Specify each parameter using the --set key=value[,key=value] argument to helm install.

helm install spoolman \
  --set env.TZ="America/New York" \
    retsamedoc/spoolman

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.

helm install spoolman retsamedoc/spoolman -f values.yaml

Custom configuration

Spoolman listens on port 8000. Keep SPOOLMAN_PORT at 8000 inside the container. The standalone install’s host port 7912 is only a Docker publish mapping and should not be used here.

Data directory and SQLite

The SQLite database, backups, and logs live at /home/app/.local/share/spoolman (SPOOLMAN_DIR_DATA). persistence.data mounts a 1Gi ReadWriteOnce PVC there and is enabled by default. The controller uses strategy: Recreate so a single RWO volume can be reattached on upgrade.

SQLite is the default and needs no extra settings. Do not set SPOOLMAN_DB_NAME while using SQLite.

External database

Postgres, MySQL, or CockroachDB are optional and are not bundled. Uncomment SPOOLMAN_DB_TYPE and the related SPOOLMAN_DB_* values and point them at a database you already run. Put the password in a Secret (SPOOLMAN_DB_PASSWORD.secretKeyRef). With an external database the PVC is only needed if you still want local logs or backups.

Ingress

ingress.main is disabled by default with placeholder host spoolman.local. Enable it and set a real host (and TLS secret) for Traefik on k3s, or use kubectl port-forward to port 8000.

Security context

The image’s app user is uid/gid 1000. This chart sets pod and container securityContext to that uid and fsGroup: 1000 so the data volume is writable. The entrypoint can remap PUID/PGID only when it starts as root; leave those unset unless you also clear runAsNonRoot / runAsUser.

Values

Important: When deploying an application Helm chart you can add more values from the common library chart here

KeyTypeDefaultDescription
controllers.main.containers.main.envobjectSee belowenvironment variables.
controllers.main.containers.main.image.pullPolicystring"IfNotPresent"image pull policy
controllers.main.containers.main.image.repositorystring"ghcr.io/donkie/spoolman"image repository
controllers.main.containers.main.image.tagstring"0.26.1"image tag
ingress.mainobjectSee values.yamlEnable and configure ingress settings for the chart under this key.
persistenceobjectSee values.yamlConfigure persistence settings for the chart under this key.
serviceobjectSee values.yamlConfigures service settings for the chart. Normally this does not need to be modified.

Support


Autogenerated from chart metadata using helm-docs v1.14.2

Deploy spoolman with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has spoolman on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartspoolman is pinned at v26.9.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply