29 lines
652 B
YAML
29 lines
652 B
YAML
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
|