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 - name: server-config
files: files:
- ./configurations/config.yaml - ./configurations/config.yaml
- name: server-whitelist
files:
- ./configurations/whitelist.txt
replacements: replacements:
- source: - source:

View File

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

View File

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

View File

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

View File

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