aboutsummaryrefslogtreecommitdiff
path: root/blog/k8s.yaml
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2026-02-01 21:47:23 +0100
committeralexpdp7 <alex@corcoles.net>2026-02-01 22:03:42 +0100
commitc48ca0ca40ed9ac009d7f84ce213ef5c69536ca7 (patch)
tree791845e06bb167794ec916fd6e2b04b6bba1234b /blog/k8s.yaml
parentf94e0a1bc1aea34cb4eadd2305ddf724722cd9b9 (diff)
Migrate blog
Turns into a static site generator. All Gemini files with links have been rewritten to be relative. Closes: #731 Closes: #372 Closes: #28
Diffstat (limited to 'blog/k8s.yaml')
-rw-r--r--blog/k8s.yaml99
1 files changed, 0 insertions, 99 deletions
diff --git a/blog/k8s.yaml b/blog/k8s.yaml
deleted file mode 100644
index 6b6240e3..00000000
--- a/blog/k8s.yaml
+++ /dev/null
@@ -1,99 +0,0 @@
-apiVersion: v1
-kind: List
-items:
-- apiVersion: v1
- kind: Namespace
- metadata:
- name: blog
-- apiVersion: apps/v1
- kind: Deployment
- metadata:
- labels:
- app: blog
- name: blog
- namespace: blog
- spec:
- selector:
- matchLabels:
- app: blog
- template:
- metadata:
- labels:
- app: blog
- spec:
- containers:
- - image: ghcr.io/astral-sh/uv:debian
- command:
- - uv
- - run
- - --with
- - git+https://github.com/alexpdp7/alexpdp7.git#subdirectory=blog
- - python
- - -m
- - blog
- - --key-cert
- - /tls-gemini/tls.key
- - /tls-gemini/tls.crt
- - https
- - alex.corcoles.net
- env:
- - name: OTEL_EXPORTER_OTLP_ENDPOINT
- value: http://clickhouse.h1.int.pdp7.net:4317
- - name: OTEL_EXPORTER_OTLP_INSECURE
- value: "true"
- imagePullPolicy: Always
- name: blog
- volumeMounts:
- - mountPath: /tls-gemini
- name: tls-gemini
- volumes:
- - name: tls-gemini
- secret:
- secretName: tls-gemini
-- apiVersion: v1
- kind: Service
- metadata:
- labels:
- app: blog
- name: http
- namespace: blog
- spec:
- ports:
- - port: 8000
- protocol: TCP
- targetPort: 8000
- selector:
- app: blog
-- apiVersion: v1
- kind: Service
- metadata:
- labels:
- app: blog
- name: gemini
- namespace: blog
- spec:
- ports:
- - nodePort: 31965
- port: 1965
- protocol: TCP
- targetPort: 1965
- selector:
- app: blog
- type: NodePort
-- apiVersion: networking.k8s.io/v1
- kind: Ingress
- metadata:
- name: http
- namespace: blog
- spec:
- rules:
- - host: alex.corcoles.net
- http:
- paths:
- - backend:
- service:
- name: http
- port:
- number: 8000
- path: /
- pathType: Prefix