-
Notifications
You must be signed in to change notification settings - Fork 2
/
manifest.yml
68 lines (66 loc) · 1.5 KB
/
manifest.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
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: order-service
name: order-service
spec:
replicas: 2
selector:
matchLabels:
app: order-service
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: order-service
spec:
containers:
- image: 880737545454.dkr.ecr.us-east-2.amazonaws.com/order-service:v1
name: webapp
imagePullPolicy: Always
resources: {}
ports:
- containerPort: 3080
env:
- name: LOG_LEVEL
value: info
- name: POSTGRES_HOST
value: postgres_host
- name: POSTGRES_PORT
value: '5432'
- name: POSTGRES_USERNAME
value: daytrader
- name: POSTGRES_PASSWORD
value: daytraderpassword
- name: POSTGRES_DATABASE
value: order-service-db
- name: AWS_REGION
value: us-east-2
- name: AWS_API_VERSION
value: 2012-11-05
- name: AWS_ACCESS_KEY_ID
value: access_key
- name: AWS_SECRET_ACCESS_KEY
value: secret_key
- name: AWS_SQS_URL
value: sqs_url
- name: AWS_SNS_ORIGIN
value: aws_sns_origin
status: {}
---
apiVersion: v1
kind: Service
metadata:
name: order-service
labels:
run: order-service
spec:
ports:
- port: 3080
protocol: TCP
selector:
app: order-service
type: LoadBalancer