-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmarketplace-service-deployment.yaml
More file actions
53 lines (53 loc) · 1.17 KB
/
Copy pathmarketplace-service-deployment.yaml
File metadata and controls
53 lines (53 loc) · 1.17 KB
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: marketplace-service
namespace: vortex
labels:
app: marketplace-service
spec:
replicas: 1
selector:
matchLabels:
app: marketplace-service
template:
metadata:
labels:
app: marketplace-service
spec:
containers:
- name: marketplace-service
image: chamathrko/marketplace-service:1.0.1
imagePullPolicy: Always
ports:
- containerPort: 8200
env:
- name: EUREKA_SERVER_URL
value: "http://eureka-server.vortex:8761/eureka"
- name: AUTH_SERVICE_URL
value: "http://auth-service.vortex:8100"
- name: KAFKA_SERVER_URL
value: "http://kafka-server.vortex:9092"
resources:
requests:
memory: "256Mi"
cpu: "250m"
limits:
memory: "512Mi"
cpu: "500m"
imagePullSecrets:
- name: vortex-docker-registry
---
apiVersion: v1
kind: Service
metadata:
name: marketplace-service
namespace: vortex
spec:
selector:
app: marketplace-service
ports:
- protocol: TCP
port: 8200
targetPort: 8200
type: ClusterIP