1
0
Fork 0

fix sillytavern & traefik

This commit is contained in:
Massaki Archambault 2025-03-24 21:44:45 -04:00
parent d8ab5c648c
commit 18435018b8
6 changed files with 23 additions and 12 deletions

View File

@ -0,0 +1,2 @@
10.0.0.0/8
192.168.0.0/16

View File

@ -15,6 +15,9 @@ configMapGenerator:
- name: server-config
files:
- ./configurations/config.yaml
- name: server-whitelist
files:
- ./configurations/whitelist.txt
replacements:
- source:

View File

@ -26,12 +26,17 @@ spec:
containers:
- name: sillytavern
image: ghcr.io/sillytavern/sillytavern:latest
env:
- name: DATA_PATH
value: /home/node/app/data
- name: CONFIG_PATH
value: /home/node/app/data/config.yaml
resources:
requests:
memory: 256Mi
cpu: 200m
limits:
memory: 256Mi
memory: 512Mi
cpu: 200m
ports:
- containerPort: 8000
@ -39,18 +44,18 @@ spec:
volumeMounts:
# - name: sillytavern-plugins
# mountPath: /home/node/app/plugins
- name: sillytavern-config
mountPath: /home/node/app/config/config.yaml
subPath: config.yaml
- name: sillytavern-whitelist
mountPath: /home/node/app/whitelist.txt
subPath: whitelist.txt
- name: sillytavern-data
mountPath: /home/node/app/data
volumes:
# - name: sillytavern-plugins
# persistentVolumeClaim:
# claimName: server-plugins
- name: sillytavern-config
- name: sillytavern-whitelist
configMap:
name: server-config
name: server-whitelist
- name: sillytavern-data
persistentVolumeClaim:
claimName: server-data

View File

@ -2,7 +2,7 @@
resources:
- traefik-helmchartconfig.yaml
# - traefik-ingress.yaml
- traefik-ingress.yaml
namespace: kube-system

View File

@ -12,8 +12,9 @@ spec:
- '--api.insecure=true'
- '--metrics.prometheus=true'
ports:
# traefik:
# expose: true
traefik:
expose:
default: true
websecure:
hostPort: 8443
# ports:

View File

@ -40,14 +40,14 @@ images:
- name: bitnami/kubectl
newTag: "1.31"
- name: ollama/ollama
newTag: 0.5.11
newTag: 0.6.2
# newTag: 0.3.6-rocm
# - name: ghcr.io/berriai/litellm
# newTag: main-v1.43.1
- name: ghcr.io/open-webui/open-webui
newTag: v0.5.12
newTag: v0.5.20
- name: ghcr.io/sillytavern/sillytavern
newTag: 1.12.7
newTag: 1.12.13
configMapGenerator:
- name: ecommerce-exporter-config