cluster

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

commit eb98efa9dc7df38f62e7b7700cd37e31690cd464
parent 9c266d001ae5bf13b2fe9303004dd15aa952d559
Author: MTRNord <MTRNord@users.noreply.github.com>
Date:   Sat, 28 Mar 2026 16:48:52 +0100

enable traffic

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

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

diff --git a/apps/talos_cluster/continuwuity/deployment.yaml b/apps/talos_cluster/continuwuity/deployment.yaml @@ -102,73 +102,72 @@ spec: protocol: TCP port: 8448 targetPort: 8448 -# HTTPRoute and BackendTrafficPolicy commented out for RocksDB surgery (748903.sst) -# --- -# 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 +--- +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 ## Blocked by https://github.com/envoyproxy/gateway/pull/6888 # --- # apiVersion: gateway.envoyproxy.io/v1alpha1