blob: 02d12fae4ada3f779a6607ea3c8fdd2e63f9f484 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: teddit
namespace: public-services
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/created-by: tyil
app.kubernetes.io/managed-by: manual
app.kubernetes.io/name: teddit
app.kubernetes.io/part-of: public-services
template:
metadata:
labels:
app.kubernetes.io/created-by: tyil
app.kubernetes.io/managed-by: manual
app.kubernetes.io/name: teddit
app.kubernetes.io/part-of: public-services
spec:
containers:
- name: teddit
image: teddit/teddit:latest
ports:
- containerPort: 8080
env:
- name: DOMAIN
value: "reddit.alt.tyil.nl"
- name: REDIS_HOST
value: "redis-teddit-master"
- name: TRUST_PROXY
value: "true"
- name: USE_HELMET
value: "true"
- name: USE_HELMET_HSTS
value: "true"
resources:
limits:
memory: 512Mi
...
|