cluster

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

commit c11a5cc55f574cee7ddb554a246677b65a8bd82c
parent 9e4081778ec0ba1ed621e9af5279663445937fb7
Author: MTRNord <MTRNord@users.noreply.github.com>
Date:   Sun,  9 Nov 2025 12:32:13 +0100

meow

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

Diffstat:
Mapps/talos_cluster/blog/docker/Dockerfile | 17+++++++++++------
Mapps/talos_cluster/connectivity-tester/kustomization.yaml | 5+++--
Aapps/talos_cluster/connectivity-tester/tester-v2.yaml | 72++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mapps/talos_cluster/envoy-gateway/gateway_settings.yaml | 12++++++++++++
4 files changed, 98 insertions(+), 8 deletions(-)

diff --git a/apps/talos_cluster/blog/docker/Dockerfile b/apps/talos_cluster/blog/docker/Dockerfile @@ -115,14 +115,14 @@ RUN wget -q https://downloads.wordpress.org/plugin/speculation-rules.1.6.0.zip \ && unzip -q speculation-rules.1.6.0.zip -d /var/www/html/wordpress/wp-content/plugins/ \ && rm speculation-rules.1.6.0.zip # Install WP Mail SMTP -RUN wget -q https://downloads.wordpress.org/plugin/wp-mail-smtp.4.6.0.zip \ - && unzip -q wp-mail-smtp.4.6.0.zip -d /var/www/html/wordpress/wp-content/plugins/ \ - && rm wp-mail-smtp.4.6.0.zip +#RUN wget -q https://downloads.wordpress.org/plugin/wp-mail-smtp.4.6.0.zip \ +# && unzip -q wp-mail-smtp.4.6.0.zip -d /var/www/html/wordpress/wp-content/plugins/ \ +# && rm wp-mail-smtp.4.6.0.zip # Install Simply Gallery Block -RUN wget -q https://downloads.wordpress.org/plugin/simply-gallery-block.3.2.8.zip \ - && unzip -q simply-gallery-block.3.2.8.zip -d /var/www/html/wordpress/wp-content/plugins/ \ - && rm simply-gallery-block.3.2.8.zip +#RUN wget -q https://downloads.wordpress.org/plugin/simply-gallery-block.3.2.8.zip \ +# && unzip -q simply-gallery-block.3.2.8.zip -d /var/www/html/wordpress/wp-content/plugins/ \ +# && rm simply-gallery-block.3.2.8.zip # Install Plausible Analytics RUN wget -q https://downloads.wordpress.org/plugin/plausible-analytics.latest-stable.zip \ @@ -154,6 +154,11 @@ RUN wget -q https://downloads.wordpress.org/plugin/antispam-bee.2.11.8.zip \ && unzip -q antispam-bee.2.11.8.zip -d /var/www/html/wordpress/wp-content/plugins/ \ && rm antispam-bee.2.11.8.zip +# Install Gallery Block Lightbox plugin +RUN wget -q https://downloads.wordpress.org/plugin/gallery-block-lightbox.zip \ + && unzip -q gallery-block-lightbox.zip -d /var/www/html/wordpress/wp-content/plugins/ \ + && rm gallery-block-lightbox.zip + # Configure nginx: replace default site and enable wordpress config RUN rm -f /etc/nginx/sites-enabled/default COPY wordpress.conf /etc/nginx/sites-available/wordpress.conf diff --git a/apps/talos_cluster/connectivity-tester/kustomization.yaml b/apps/talos_cluster/connectivity-tester/kustomization.yaml @@ -6,12 +6,13 @@ resources: - staging_deployment.yaml - deployment.yaml - service.yaml + - tester-v2.yaml configMapGenerator: - name: connectivity-tester-config namespace: matrix files: - - config.json=config.json + - config.json=config.json - name: connectivity-tester-stage-config namespace: matrix files: - - config.json=staging_config.json + - config.json=staging_config.json diff --git a/apps/talos_cluster/connectivity-tester/tester-v2.yaml b/apps/talos_cluster/connectivity-tester/tester-v2.yaml @@ -0,0 +1,72 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: connectivity-tester-v2 + namespace: matrix +spec: + selector: + matchLabels: + app: connectivity-tester-v2 + template: + metadata: + labels: + app: connectivity-tester-v2 + spec: + containers: + - name: connectivity-tester-v2 + image: ghcr.io/mtrnord/connectivity-tester-v2:latest + resources: + limits: {} + requests: + memory: "344Mi" + cpu: "252m" + ports: + - containerPort: 8000 + name: web + protocol: TCP + livenessProbe: + httpGet: + path: / + port: web + scheme: HTTP + readinessProbe: + httpGet: + path: / + port: web + scheme: HTTP + startupProbe: + httpGet: + path: / + port: web +--- +apiVersion: v1 +kind: Service +metadata: + name: connectivity-tester-v2 + namespace: matrix +spec: + selector: + app: connectivity-tester-v2 + ports: + - name: web + port: 8000 + targetPort: 8000 +--- +apiVersion: gateway.networking.k8s.io/v1 +kind: HTTPRoute +metadata: + name: connectivity-tester-v2 + namespace: matrix +spec: + parentRefs: + - name: envoy-gateway + namespace: envoy-gateway + hostnames: + - beta.connectivity-tester.mtrnord.blog + rules: + - backendRefs: + - name: connectivity-tester-v2 + port: 8000 + timeouts: + request: 240s + backendRequest: 0s diff --git a/apps/talos_cluster/envoy-gateway/gateway_settings.yaml b/apps/talos_cluster/envoy-gateway/gateway_settings.yaml @@ -317,6 +317,18 @@ spec: certificateRefs: - kind: Secret name: connectivity-tester.mtrnord.blog-tls + - name: https-beta-connectivity-tester-mtrnord-blog + protocol: HTTPS + hostname: "beta.connectivity-tester.mtrnord.blog" + port: 443 + allowedRoutes: + namespaces: + from: "All" + tls: + mode: Terminate + certificateRefs: + - kind: Secret + name: beta.connectivity-tester.mtrnord.blog-tls - name: https-federationtester-mtrnord-blog protocol: HTTPS hostname: "federationtester.mtrnord.blog"