-
Notifications
You must be signed in to change notification settings - Fork 1
/
deployment.yaml
40 lines (40 loc) · 974 Bytes
/
deployment.yaml
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: bots
labels:
app: bots
spec:
replicas: 1
selector:
matchLabels:
app: bots
template:
metadata:
labels:
app: bots
spec:
containers:
- name: bots-edi
image: shaker242/bots-edi:ocp-3.2.0
ports:
- containerPort: 8080
resources:
limits:
memory: 250Mi
cpu: "0.25"
# # Used with ConfigMaps
# volumeMounts:
# - name: bots-ini
# mountPath: /usr/local/lib/python2.7/dist-packages/bots/config/bots.ini
# subPath: bots.ini
# - name: settings-py
# mountPath: /usr/local/lib/python2.7/dist-packages/bots/config/settings.py
# subPath: settings.py
# volumes:
# - name: bots-ini
# configMap:
# name: botsini
# - name: settings-py
# configMap:
# name: settingspy