forked from bopke/CSRVbot
-
Notifications
You must be signed in to change notification settings - Fork 3
/
k8s.yml
38 lines (38 loc) · 862 Bytes
/
k8s.yml
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: csrvbot
namespace: csrvbot
spec:
selector:
matchLabels:
app: csrvbot
template:
metadata:
labels:
app: csrvbot
spec:
imagePullSecrets:
- name: kwadratowa
containers:
- name: csrvbot
tty: true
stdin: true
image: registry.kwadratowa.games/csrvbot/csrvbot:stable
resources:
requests:
memory: "500Mi"
cpu: "200m"
limits:
memory: "1Gi"
cpu: "300m"
imagePullPolicy: Always
volumeMounts:
- name: csrvbot
mountPath: "/app/config.json"
subPath: config.json
readOnly: true
volumes:
- name: csrvbot
configMap:
name: csrvbot