-
Notifications
You must be signed in to change notification settings - Fork 3
/
vedra.yml
103 lines (101 loc) · 2.11 KB
/
vedra.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
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
apiVersion: v1
kind: Service
metadata:
name: vedra
spec:
ports:
- name: user-service
port: 8084
protocol: TCP
targetPort: 8084
- name: item-service
port: 8081
protocol: TCP
targetPort: 8081
- name: order-service
port: 8083
protocol: TCP
targetPort: 8083
- name: payment-service
port: 8082
protocol: TCP
targetPort: 8082
- name: gateway-service
port: 8070
protocol: TCP
targetPort: 8070
- name: client-service
port: 3000
protocol: TCP
targetPort: 3000
selector:
app: vedra
type: LoadBalancer
status:
loadBalancer: {}
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: vedra
name: vedra
spec:
replicas: 1
selector:
matchLabels:
app: vedra
strategy:
type: Recreate
template:
metadata:
labels:
app: vedra
spec:
containers:
- name: user-service
image: it21008146/user-service
imagePullPolicy: Always
ports:
- containerPort: 8084
protocol: TCP
resources: {}
- name: item-service
image: it21008146/item-service
imagePullPolicy: Always
ports:
- containerPort: 8081
protocol: TCP
resources: {}
- name: order-service
image: it21008146/order-service
imagePullPolicy: Always
ports:
- containerPort: 8083
protocol: TCP
resources: {}
- name: payment-service
image: it21008146/payment-service
imagePullPolicy: Always
ports:
- containerPort: 8082
protocol: TCP
resources: {}
- name: gateway-service
image: it21008146/gateway-service
imagePullPolicy: Always
ports:
- containerPort: 8070
protocol: TCP
resources: {}
- name: frontend-service
image: it21008146/frontend-service
imagePullPolicy: Always
ports:
- containerPort: 3000
protocol: TCP
resources: {}
restartPolicy: Always
status: {}
# kubectl apply -f herbcollab.yaml
# kubectl delete -f herbcollab.yaml