-
Notifications
You must be signed in to change notification settings - Fork 536
/
Copy pathorder-processor.yaml
47 lines (47 loc) · 999 Bytes
/
order-processor.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
kind: Service
apiVersion: v1
metadata:
name: order-processor-app
labels:
app: order-processor
spec:
selector:
app: order-processor
ports:
- protocol: TCP
port: 7006
targetPort: 7006
type: ClusterIP
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: order-processor-app
labels:
app: order-processor
spec:
replicas: 1
selector:
matchLabels:
app: order-processor
template:
metadata:
labels:
app: order-processor
annotations:
dapr.io/enabled: "true"
dapr.io/app-id: "order-processor"
dapr.io/app-port: "7006"
dapr.io/log-as-json: "true"
dapr.io/log-level: "debug"
dapr.io/enable-api-logging: "true"
spec:
containers:
- name: order-processor-csharp
image: docker.io/library/order-processor:latest
ports:
- containerPort: 7006
imagePullPolicy: Never
env:
- name: "ASPNETCORE_HTTP_PORTS"
value: "7006"