forked from stewartshea/demo-sandbox-acme-fitness
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpayment-total.yaml
54 lines (54 loc) · 1.06 KB
/
payment-total.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
apiVersion: v1
kind: Service
metadata:
name: payment
labels:
app: acmefit
service: payment
spec:
ports:
- name: http-payment
protocol: TCP
port: 9000
selector:
app: acmefit
service: payment
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: payment
labels:
app: acmefit
service: payment
spec:
selector:
matchLabels:
app: acmefit
service: payment
strategy:
type: Recreate
replicas: 1
template:
metadata:
labels:
app: acmefit
service: payment
spec:
containers:
- image: gcr.io/vmwarecloudadvocacy/acmeshop-payment:latest
name: payment
env:
- name: PAYMENT_PORT
value: '9000'
- name: USERS_HOST
value: 'users'
- name: USERS_PORT
value: '8083'
- name: JAEGER_AGENT_HOST
value: 'jaeger-agent'
- name: JAEGER_AGENT_PORT
value: '6832'
ports:
- containerPort: 9000
name: payment