-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.yaml
42 lines (42 loc) · 906 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
41
42
apiVersion: apps/v1
kind: Deployment
metadata:
name: singiattend
namespace: default
labels:
app: singiattend
spec:
selector:
matchLabels:
app: singiattend
replicas: 1
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: singiattend
spec:
containers:
- name: singiattend
image: madojkic/main:singiattend-v2.4.6
resources:
requests:
cpu: 1
memory: 2048Mi
limits:
cpu: 1
memory: 2048Mi
ports:
- containerPort: 8080
name: singiattend-fe
- containerPort: 27017
name: singiattend-db
- containerPort: 62812
name: singiattend-be
restartPolicy: Always
imagePullSecrets:
- name: madojkic-credential