cluster

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

route.yaml (729B)


      1 apiVersion: gateway.networking.k8s.io/v1
      2 kind: HTTPRoute
      3 metadata:
      4   name: wanderer
      5   namespace: wanderer
      6 spec:
      7   parentRefs:
      8     - name: envoy-gateway
      9       namespace: envoy-gateway
     10   hostnames:
     11     - wanderer.mtrnord.blog
     12   rules:
     13     - matches:
     14         - path:
     15             type: PathPrefix
     16             value: /
     17       backendRefs:
     18         - name: wanderer-web
     19           port: 3000
     20       timeouts:
     21         request: 240s
     22         backendRequest: 0s
     23 ---
     24 apiVersion: gateway.envoyproxy.io/v1alpha1
     25 kind: BackendTrafficPolicy
     26 metadata:
     27   name: wanderer-compression
     28   namespace: wanderer
     29 spec:
     30   targetRef:
     31     group: gateway.networking.k8s.io
     32     kind: HTTPRoute
     33     name: wanderer
     34   compression:
     35     - type: Gzip
     36     - type: Brotli