add stable diffusion
This commit is contained in:
@@ -22,6 +22,13 @@ spec:
|
||||
key: /cl01tl/ollama/key
|
||||
metadataPolicy: None
|
||||
property: key
|
||||
- secretKey: civitai-key
|
||||
remoteRef:
|
||||
conversionStrategy: Default
|
||||
decodingStrategy: None
|
||||
key: /cl01tl/ollama/config
|
||||
metadataPolicy: None
|
||||
property: civitai-key
|
||||
|
||||
---
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
|
@@ -24,6 +24,33 @@ ollama:
|
||||
limits:
|
||||
cpu: 4
|
||||
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:
|
||||
type: deployment
|
||||
replicas: 1
|
||||
|
Reference in New Issue
Block a user