-
Notifications
You must be signed in to change notification settings - Fork 0
/
services.yml
55 lines (55 loc) · 1.56 KB
/
services.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
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: data-platform-api-invitation-reads-rmq-kube
name: data-platform-api-invitation-reads-rmq-kube
spec:
replicas: 1
selector:
matchLabels:
run: data-platform-api-invitation-reads-rmq-kube
app: INVITATION
template:
metadata:
labels:
run: data-platform-api-invitation-reads-rmq-kube
app: INVITATION
spec:
hostname: data-platform-api-invitation-reads-rmq-kube
containers:
- name: data-platform-api-invitation-reads-rmq-kube
image: latonaio/data-platform-api-invitation-reads-rmq-kube
imagePullPolicy: Always
env:
- name: "RMQ_QUEUE_FROM"
value: "data-platform-api-invitation-reads-queue"
- name: "RMQ_QUEUE_TO_SQL"
value: ""
- name: "RMQ_QUEUE_TO_EX_CONF"
value: ""
- name: "RMQ_SESSION_CONTROL_QUEUE"
value: "data-platform-api-invitation-reads-session-control-queue"
- name: "DB_NAME"
value: "DataPlatformMastersAndTransactionsMysqlKube"
envFrom:
- configMapRef:
name: env-config
- secretRef:
name: env-secret
---
apiVersion: v1
kind: Service
metadata:
labels:
run: data-platform-api-invitation-reads-rmq-kube
name: data-platform-api-invitation-reads-rmq-kube
spec:
selector:
run: data-platform-api-invitation-reads-rmq-kube
type: ClusterIP
ports:
- name: api
port: 8080
protocol: TCP
targetPort: 8080