cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit 2bc914f69a4ed8c96a7dd16bdbd6694f3abfe577
parent f4438f26057ac260fb2578748c6080b79b174690
Author: MTRNord <MTRNord@users.noreply.github.com>
Date:   Sat, 28 Mar 2026 18:31:50 +0100

another round of tries

Signed-off-by: MTRNord <MTRNord@users.noreply.github.com>

Diffstat:
Mapps/talos_cluster/continuwuity/deployment.yaml | 130+++++++++++++++++++++++++++++++++++++++----------------------------------------
1 file changed, 64 insertions(+), 66 deletions(-)

diff --git a/apps/talos_cluster/continuwuity/deployment.yaml b/apps/talos_cluster/continuwuity/deployment.yaml @@ -102,72 +102,70 @@ spec: protocol: TCP port: 8448 targetPort: 8448 ---- -apiVersion: gateway.networking.k8s.io/v1 -kind: HTTPRoute -metadata: - name: continuwuity - namespace: continuwuity -spec: - parentRefs: - - name: envoy-gateway - namespace: envoy-gateway - hostnames: - - matrix.mtrnord.blog - rules: - # Client traffic (sync, login, media, etc.) - - name: client-traffic - matches: - - path: - type: PathPrefix - value: /_matrix/client - backendRefs: - - name: continuwuity - port: 8448 - timeouts: - request: 240s - backendRequest: 0s - - name: media-traffic - matches: - - path: - type: PathPrefix - value: /_matrix/media - backendRefs: - - name: continuwuity - port: 8448 - # Federation traffic - - name: federation-traffic - matches: - - path: - type: PathPrefix - value: /_matrix/federation - backendRefs: - - name: continuwuity - port: 8448 - timeouts: - request: 240s - backendRequest: 0s - # Fallback (anything else Matrix-y) - - name: fallback - backendRefs: - - name: continuwuity - port: 8448 ---- -apiVersion: gateway.envoyproxy.io/v1alpha1 -kind: BackendTrafficPolicy -metadata: - name: continuwuity-general-ratelimit - namespace: continuwuity -spec: - targetRefs: - - group: gateway.networking.k8s.io - kind: HTTPRoute - name: continuwuity - circuitBreaker: - maxConnections: 1500 - maxPendingRequests: 300 - maxParallelRequests: 700 - maxParallelRetries: 50 +# --- HTTPRoute commented out for RocksDB repair --- +# --- +# apiVersion: gateway.networking.k8s.io/v1 +# kind: HTTPRoute +# metadata: +# name: continuwuity +# namespace: continuwuity +# spec: +# parentRefs: +# - name: envoy-gateway +# namespace: envoy-gateway +# hostnames: +# - matrix.mtrnord.blog +# rules: +# - name: client-traffic +# matches: +# - path: +# type: PathPrefix +# value: /_matrix/client +# backendRefs: +# - name: continuwuity +# port: 8448 +# timeouts: +# request: 240s +# backendRequest: 0s +# - name: media-traffic +# matches: +# - path: +# type: PathPrefix +# value: /_matrix/media +# backendRefs: +# - name: continuwuity +# port: 8448 +# - name: federation-traffic +# matches: +# - path: +# type: PathPrefix +# value: /_matrix/federation +# backendRefs: +# - name: continuwuity +# port: 8448 +# timeouts: +# request: 240s +# backendRequest: 0s +# - name: fallback +# backendRefs: +# - name: continuwuity +# port: 8448 +# --- +# apiVersion: gateway.envoyproxy.io/v1alpha1 +# kind: BackendTrafficPolicy +# metadata: +# name: continuwuity-general-ratelimit +# namespace: continuwuity +# spec: +# targetRefs: +# - group: gateway.networking.k8s.io +# kind: HTTPRoute +# name: continuwuity +# circuitBreaker: +# maxConnections: 1500 +# maxPendingRequests: 300 +# maxParallelRequests: 700 +# maxParallelRetries: 50 ## Blocked by https://github.com/envoyproxy/gateway/pull/6888 # --- # apiVersion: gateway.envoyproxy.io/v1alpha1