remove whoami
This commit is contained in:
parent
69deddcdea
commit
ec7e38a698
5 changed files with 1 additions and 69 deletions
|
|
@ -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/<name>/` (copy `apps/whoami/`). Its contents can be:
|
||||
1. Create `apps/<name>/`. 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`).
|
||||
|
|
|
|||
|
|
@ -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 <SERVICE>_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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: whoami
|
||||
spec:
|
||||
selector:
|
||||
app: whoami
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: http
|
||||
Loading…
Add table
Reference in a new issue