add kiwix

This commit is contained in:
2025-01-21 00:59:34 -06:00
parent 21656e32c7
commit 7e89de4f8d
5 changed files with 126 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
kiwix:
controllers:
main:
type: deployment
replicas: 3
strategy: Recreate
revisionHistoryLimit: 3
containers:
main:
image:
repository: ghcr.io/kiwix/kiwix-serve:3.7.0
tag: 3.7.0
pullPolicy: IfNotPresent
args:
- '*.zim'
env:
- name: PORT
value: 8080
resources:
requests:
cpu: 50m
memory: 512Mi
serviceAccount:
create: true
service:
main:
controller: main
ports:
http:
port: 80
targetPort: 8080
protocol: HTTP
ingress:
tailscale:
enabled: true
className: tailscale
hosts:
- host: kiwix-cl01tl
paths:
- path: /
pathType: Prefix
service:
name: kiwix
port: 80
tls:
- hosts:
- kiwix-cl01tl
persistence:
media:
existingClaim: kiwix-nfs-storage
advancedMounts:
main:
main:
- path: /data
readOnly: true