From ec7e38a69857b702f756b18092a566ffb6186541 Mon Sep 17 00:00:00 2001 From: un-oeil Date: Sun, 11 Oct 2026 21:44:07 +0200 Subject: [PATCH] remove whoami --- README.md | 3 +-- apps/whoami/deployment.yaml | 29 ----------------------------- apps/whoami/ingress.yaml | 20 -------------------- apps/whoami/kustomization.yaml | 7 ------- apps/whoami/service.yaml | 11 ----------- 5 files changed, 1 insertion(+), 69 deletions(-) delete mode 100644 apps/whoami/deployment.yaml delete mode 100644 apps/whoami/ingress.yaml delete mode 100644 apps/whoami/kustomization.yaml delete mode 100644 apps/whoami/service.yaml diff --git a/README.md b/README.md index 638e500..89f7299 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,6 @@ internal address). The repo is public, so no credentials are needed. | stirling-pdf | pdf.un-oeil.fr | none | none | | it-tools | tools.un-oeil.fr | none | none | | postgres | (internal) `postgres.postgres.svc` | 10 Gi | shared by the 5 above | -| whoami | (example, no DNS) | none | none | Every volume is Longhorn, 2 replicas, on the workers' `sdb`. Total requests are about 3 GiB RAM and 110 GiB of volumes (×2 replicas = 220 of 600 GiB). @@ -156,7 +155,7 @@ files survive a node failure (2 replicas) but not the loss of the pool. ## Launching an app -1. Create `apps//` (copy `apps/whoami/`). Its contents can be: +1. Create `apps//`. Its contents can be: - plain manifests, or - a `kustomization.yaml` (Helm charts work too via `helmCharts:`), or - a `Chart.yaml` (umbrella chart with the real chart as a dependency + `values.yaml`). diff --git a/apps/whoami/deployment.yaml b/apps/whoami/deployment.yaml deleted file mode 100644 index c673779..0000000 --- a/apps/whoami/deployment.yaml +++ /dev/null @@ -1,29 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: whoami -spec: - replicas: 2 - selector: - matchLabels: - app: whoami - template: - metadata: - labels: - app: whoami - spec: - # No _PORT=tcp://... env vars: apps like Paperless read - # PAPERLESS_PORT as their own setting and crash. - enableServiceLinks: false - containers: - - name: whoami - image: traefik/whoami:v1.11.0 - ports: - - name: http - containerPort: 80 - resources: - requests: - cpu: 10m - memory: 16Mi - limits: - memory: 32Mi diff --git a/apps/whoami/ingress.yaml b/apps/whoami/ingress.yaml deleted file mode 100644 index f32b90a..0000000 --- a/apps/whoami/ingress.yaml +++ /dev/null @@ -1,20 +0,0 @@ -# Public only once a matching vhost exists in Caddy (LXC 100) pointing at -# Traefik on 10.0.0.141-143:80. Test before that, over WireGuard: -# curl -H 'Host: whoami.un-oeil.fr' http://10.0.0.141 -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: whoami -spec: - ingressClassName: traefik - rules: - - host: whoami.un-oeil.fr - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: whoami - port: - name: http diff --git a/apps/whoami/kustomization.yaml b/apps/whoami/kustomization.yaml deleted file mode 100644 index 098170e..0000000 --- a/apps/whoami/kustomization.yaml +++ /dev/null @@ -1,7 +0,0 @@ -# Example app: copy this folder to start a new one. -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: - - deployment.yaml - - service.yaml - - ingress.yaml diff --git a/apps/whoami/service.yaml b/apps/whoami/service.yaml deleted file mode 100644 index d916f79..0000000 --- a/apps/whoami/service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: whoami -spec: - selector: - app: whoami - ports: - - name: http - port: 80 - targetPort: http