-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathherbcollab.yaml
103 lines (101 loc) · 2.24 KB
/
herbcollab.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
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: herbcollab
spec:
ports:
- name: product-service
port: 8071
protocol: TCP
targetPort: 8071
- name: orderpurchase-service
port: 8072
protocol: TCP
targetPort: 8072
- name: ratereview-service
port: 8073
protocol: TCP
targetPort: 8073
- name: systemuser-service
port: 8084
protocol: TCP
targetPort: 8084
- name: customerauth-service
port: 8075
protocol: TCP
targetPort: 8075
- name: notification-service
port: 8079
protocol: TCP
targetPort: 8079
selector:
app: herbcollab
type: LoadBalancer
status:
loadBalancer: {}
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: herbcollab
name: herbcollab
spec:
replicas: 1
selector:
matchLabels:
app: herbcollab
strategy:
type: Recreate
template:
metadata:
labels:
app: herbcollab
spec:
containers:
- name: product-service
image: jananimaya/product-service
imagePullPolicy: Always
ports:
- containerPort: 8071
protocol: TCP
resources: {}
- name: orderpurchase-service
image: jananimaya/orderpurchase-service
imagePullPolicy: Always
ports:
- containerPort: 8072
protocol: TCP
resources: {}
- name: ratereview-service
image: jananimaya/ratereview-service
imagePullPolicy: Always
ports:
- containerPort: 8073
protocol: TCP
resources: {}
- name: systemuser-service
image: jananimaya/systemuser-service
imagePullPolicy: Always
ports:
- containerPort: 8084
protocol: TCP
resources: {}
- name: customerauth-service
image: jananimaya/customerauth-service
imagePullPolicy: Always
ports:
- containerPort: 8075
protocol: TCP
resources: {}
- name: notification-service
image: jananimaya/notification-service
imagePullPolicy: Always
ports:
- containerPort: 8079
protocol: TCP
resources: {}
restartPolicy: Always
status: {}
# kubectl apply -f herbcollab.yaml
# kubectl delete -f herbcollab.yaml