feat: refactor apps
This commit is contained in:
@@ -5,7 +5,7 @@ description: Kiwix
|
||||
keywords:
|
||||
- kiwix
|
||||
- wikipedia
|
||||
home: https://wiki.alexlebens.dev/s/16eaaf92-3607-421f-bc66-cb3c39eeaea0
|
||||
home: https://docs.alexlebens.dev/applications/kiwix/
|
||||
sources:
|
||||
- https://github.com/kiwix
|
||||
- https://github.com/kiwix/kiwix-tools/pkgs/container/kiwix-serve
|
||||
|
||||
@@ -4,13 +4,11 @@ kiwix:
|
||||
type: deployment
|
||||
replicas: 1
|
||||
strategy: Recreate
|
||||
revisionHistoryLimit: 3
|
||||
containers:
|
||||
main:
|
||||
image:
|
||||
repository: ghcr.io/kiwix/kiwix-serve
|
||||
tag: 3.8.2
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 3.8.2@sha256:acdab28186a66b51bfd4202210c6732931ea95cf41c711148a0c9770b9fcc9e1
|
||||
args:
|
||||
- '*.zim'
|
||||
env:
|
||||
@@ -18,8 +16,8 @@ kiwix:
|
||||
value: 8080
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 512Mi
|
||||
cpu: 1m
|
||||
memory: 10Mi
|
||||
service:
|
||||
main:
|
||||
controller: main
|
||||
@@ -27,7 +25,6 @@ kiwix:
|
||||
http:
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
protocol: HTTP
|
||||
route:
|
||||
main:
|
||||
kind: HTTPRoute
|
||||
@@ -40,11 +37,8 @@ kiwix:
|
||||
- kiwix.alexlebens.net
|
||||
rules:
|
||||
- backendRefs:
|
||||
- group: ''
|
||||
kind: Service
|
||||
name: kiwix
|
||||
- name: kiwix
|
||||
port: 80
|
||||
weight: 100
|
||||
matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
|
||||
Reference in New Issue
Block a user