41 lines
834 B
YAML
41 lines
834 B
YAML
kiwix:
|
|
controllers:
|
|
main:
|
|
type: deployment
|
|
replicas: 1
|
|
strategy: Recreate
|
|
revisionHistoryLimit: 3
|
|
containers:
|
|
main:
|
|
image:
|
|
repository: ghcr.io/kiwix/kiwix-serve
|
|
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
|
|
persistence:
|
|
media:
|
|
existingClaim: kiwix-nfs-storage
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /data
|
|
readOnly: true
|