disable proxy bufferring in ollama ingress

This commit is contained in:
2025-04-11 02:32:57 +02:00
parent 83be6619e8
commit 4bc01e2e78
3 changed files with 7 additions and 1 deletions

View File

@@ -47,7 +47,9 @@ data:
respond @requireAuth "Unauthorized" 401 respond @requireAuth "Unauthorized" 401
reverse_proxy ollama:11434 reverse_proxy ollama:11434 {
flush_interval -1
}
} }
--- ---
apiVersion: v1 apiVersion: v1

View File

@@ -7,6 +7,7 @@ metadata:
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt cert-manager.io/cluster-issuer: letsencrypt
acme.cert-manager.io/http01-edit-in-place: "true" acme.cert-manager.io/http01-edit-in-place: "true"
nginx.ingress.kubernetes.io/proxy-buffering: "false"
spec: spec:
ingressClassName: nginx ingressClassName: nginx
rules: rules:

View File

@@ -54,3 +54,6 @@ spec:
lbipam.cilium.io/sharing-key: gitea lbipam.cilium.io/sharing-key: gitea
lbipam.cilium.io/sharing-cross-namespace: gitea lbipam.cilium.io/sharing-cross-namespace: gitea
lbipam.cilium.io/ips: 10.44.0.0,2001:470:61a3:400::1 lbipam.cilium.io/ips: 10.44.0.0,2001:470:61a3:400::1
config:
entries:
proxy-buffering: "false"