Deploy Kavita to Kubernetes using a Kustomize overlay.
You will need to edit kustomize/overlays/local/kustomization.yaml
to
specify the following for your environment:
- Hostname for your ingress
- Amount of space to reserve in a PersistentVolumeClaim for Kavita to use
- The location of a volume where your library is located
kubectl apply -k kustomize/overlays/local
The Kavita config and all the covers are stored in the PersistentVolumeClaim. If you delete that or your entire namespace, you'll lose that and have to recreate it.
I stubbed out a ConfigMap where you could store your appconfig, but you'll want to be careful of any secrets in the config.
Run a test container using Podman instead:
podman run -d --name kavita \
-v /path/to/kavita/config:/kavita/config \
-v /path/to/Comics:/comics \
-v /path/to/Magazines:/magazines \
-p 5000:5000 \
--restart unless-stopped \
--pull always \
docker.io/kizaing/kavita:latest