add stable diffusion
This commit is contained in:
@@ -22,6 +22,13 @@ spec:
|
|||||||
key: /cl01tl/ollama/key
|
key: /cl01tl/ollama/key
|
||||||
metadataPolicy: None
|
metadataPolicy: None
|
||||||
property: key
|
property: key
|
||||||
|
- secretKey: civitai-key
|
||||||
|
remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: /cl01tl/ollama/config
|
||||||
|
metadataPolicy: None
|
||||||
|
property: civitai-key
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: external-secrets.io/v1beta1
|
apiVersion: external-secrets.io/v1beta1
|
||||||
|
@@ -24,6 +24,33 @@ ollama:
|
|||||||
limits:
|
limits:
|
||||||
cpu: 4
|
cpu: 4
|
||||||
gpu.intel.com/i915: 1
|
gpu.intel.com/i915: 1
|
||||||
|
stable-diffusion:
|
||||||
|
type: deployment
|
||||||
|
replicas: 1
|
||||||
|
strategy: Recreate
|
||||||
|
revisionHistoryLimit: 3
|
||||||
|
containers:
|
||||||
|
main:
|
||||||
|
image:
|
||||||
|
repository: ghcr.io/ai-dock/stable-diffusion-webui
|
||||||
|
tag: v2-cpu-22.04
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
env:
|
||||||
|
- name: CIVITAI_TOKEN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: ollama-key-secret
|
||||||
|
key: civitai-key
|
||||||
|
- name: WEBUI_ARGS
|
||||||
|
value: --no-half --api
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 1Gi
|
||||||
|
gpu.intel.com/i915: 1
|
||||||
|
limits:
|
||||||
|
cpu: 4
|
||||||
|
gpu.intel.com/i915: 1
|
||||||
web:
|
web:
|
||||||
type: deployment
|
type: deployment
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
Reference in New Issue
Block a user