-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.yaml
43 lines (43 loc) · 895 Bytes
/
deploy.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
43
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: techchallenge-be
labels:
app: techchallenge
spec:
selector:
matchLabels:
app: techchallenge
replicas: 2
template:
metadata:
labels:
app: techchallenge
spec:
containers:
- name: techchallenge-be
image: anified/techchallenge-be:change_LABELTAG
imagePullPolicy: Always
ports:
- containerPort: 8080
env:
- name: ATMS_URL
value: change_ATMS_URL
- name: ATMS_HEADER_KEY
value: change_ATMS_HEADER_KEY
- name: ATMS_HEADER_VALUE
value: change_ATMS_HEADER_VALUE
---
apiVersion: v1
kind: Service
metadata:
name: techchallenge-be
spec:
selector:
app: techchallenge
ports:
- port: 80
targetPort: 8080
protocol: TCP
type: LoadBalancer