36fbaf171a
Document the Hetzner Cloud Firewall posture (inbound from private/home only, outbound allow-all, egress-only IPv6, public IPs on workers) in a new `Cluster_admin/firewall.md` and reference it from `AGENTS.md`, `Environment.md`, and `README.md`. Update the Mailu README to note that SMTP/IMAP ports are not currently exposed. Add `HomeAccess/` with a privileged DaemonSet and README that give cluster nodes a route to `192.168.8.0/24` via point-to-point GRE tunnels to the master and its WireGuard tunnel. Wire Open WebUI to ComfyUI on pop-os through a new `openwebui-imagegen` ConfigMap consumed via `envFrom`, with migration notes covering the PersistentConfig DB override. Bump kube-prometheus-stack to 88.6.1 with an 8GB `retentionSize` cap, grow the postgres PVC to 50Gi, and add a PostgreSQL backup plan for pg_dumpall/rclone streaming to a Hetzner Storage Box.
23 lines
2.2 KiB
YAML
23 lines
2.2 KiB
YAML
# Image generation config for Open WebUI (Kubernetes).
|
|
# Points Open WebUI at ComfyUI running on pop-os (GPU), reachable from the
|
|
# cluster via the home-gw / WireGuard route to 192.168.8.0/24.
|
|
# The workflow below is the Qwen-Image 2512 + Lightning 4-step text-to-image
|
|
# graph (matches ~/comfy/workflows/openwebui_qwen_t2i.json on pop-os).
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: openwebui-imagegen
|
|
namespace: ollama
|
|
labels:
|
|
app: open-webui
|
|
data:
|
|
ENABLE_IMAGE_GENERATION: "true"
|
|
IMAGE_GENERATION_ENGINE: "comfyui"
|
|
IMAGE_GENERATION_MODEL: "qwen-image"
|
|
IMAGE_SIZE: "1024x1024"
|
|
IMAGE_STEPS: "4"
|
|
COMFYUI_BASE_URL: "http://192.168.8.28:8188"
|
|
COMFYUI_API_KEY: ""
|
|
COMFYUI_WORKFLOW: '{"1":{"class_type":"UnetLoaderGGUF","inputs":{"unet_name":"qwen-image-Q4_K_M.gguf"}},"2":{"class_type":"CLIPLoader","inputs":{"clip_name":"qwen_2.5_vl_7b_fp8_scaled.safetensors","type":"qwen_image","device":"default"}},"3":{"class_type":"VAELoader","inputs":{"vae_name":"qwen_image_vae.safetensors"}},"4":{"class_type":"LoraLoaderModelOnly","inputs":{"model":["1",0],"lora_name":"Qwen-Image-2512-Lightning-4steps-V1.0-fp32.safetensors","strength_model":1.0}},"5":{"class_type":"ModelSamplingAuraFlow","inputs":{"model":["4",0],"shift":3.1}},"6":{"class_type":"CLIPTextEncode","inputs":{"clip":["2",0],"text":""}},"7":{"class_type":"CLIPTextEncode","inputs":{"clip":["2",0],"text":""}},"8":{"class_type":"EmptySD3LatentImage","inputs":{"width":1024,"height":1024,"batch_size":1}},"9":{"class_type":"KSampler","inputs":{"model":["5",0],"positive":["6",0],"negative":["7",0],"latent_image":["8",0],"seed":42,"steps":4,"cfg":1.0,"sampler_name":"euler","scheduler":"simple","denoise":1.0}},"10":{"class_type":"VAEDecode","inputs":{"samples":["9",0],"vae":["3",0]}},"11":{"class_type":"SaveImage","inputs":{"images":["10",0],"filename_prefix":"openwebui_qwen"}}}'
|
|
COMFYUI_WORKFLOW_NODES: '[{"type":"prompt","node_ids":["6"],"key":"text"},{"type":"negative_prompt","node_ids":["7"],"key":"text"},{"type":"width","node_ids":["8"],"key":"width"},{"type":"height","node_ids":["8"],"key":"height"},{"type":"n","node_ids":["8"],"key":"batch_size"},{"type":"steps","node_ids":["9"],"key":"steps"},{"type":"seed","node_ids":["9"],"key":"seed"}]'
|