-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdeployment.yaml
More file actions
65 lines (65 loc) · 1.63 KB
/
deployment.yaml
File metadata and controls
65 lines (65 loc) · 1.63 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
apiVersion: apps/v1
kind: Deployment
metadata:
name: faf-icebreaker
labels:
app: faf-icebreaker
annotations:
reloader.stakater.com/auto: "true"
spec:
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: faf-icebreaker
template:
metadata:
labels:
app: faf-icebreaker
annotations:
# Does not provide metrics at the moment
prometheus.io/scrape: 'false'
spec:
initContainers:
- name: geolite-db-dl
image: ghcr.io/maxmind/geoipupdate:v7.1.1
envFrom:
- configMapRef:
name: faf-icebreaker
- secretRef:
name: faf-icebreaker
volumeMounts:
- name: geolite-db
mountPath: /usr/share/GeoIP
containers:
- image: faforever/faf-icebreaker:1.2.0-RC4
imagePullPolicy: Always
name: faf-icebreaker
envFrom:
- configMapRef:
name: faf-icebreaker
- secretRef:
name: faf-icebreaker
ports:
- containerPort: 8080
volumeMounts:
- name: geolite-db
mountPath: /geoip
startupProbe:
httpGet:
port: 8080
path: /q/health
failureThreshold: 10
periodSeconds: 3
livenessProbe:
httpGet:
port: 8080
path: /q/health
failureThreshold: 3
periodSeconds: 10
restartPolicy: Always
volumes:
- name: geolite-db
emptyDir: {}
securityContext:
fsGroup: 1000