-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdeploy.yaml
55 lines (55 loc) · 1.04 KB
/
deploy.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
55
kind: Deployment
apiVersion: apps/v1
metadata:
name: workflow
labels:
app: workflow
spec:
replicas: 1
selector:
matchLabels:
app: workflow
template:
metadata:
labels:
app: workflow
annotations:
dapr.io/enabled: "true"
dapr.io/app-id: "workflow-a"
dapr.io/app-port: "5111"
dapr.io/config: "mydaprconfig"
spec:
containers:
- name: workflow
image: workflow:1.0.1
imagePullPolicy: Never
ports:
- containerPort: 5111
---
kind: Deployment
apiVersion: apps/v1
metadata:
name: client
labels:
app: client
spec:
replicas: 1
selector:
matchLabels:
app: client
template:
metadata:
labels:
app: client
annotations:
dapr.io/enabled: "true"
dapr.io/app-id: "client"
dapr.io/app-port: "5111"
dapr.io/config: "mydaprconfig"
spec:
containers:
- name: client
image: client:1.0.1
imagePullPolicy: Never
ports:
- containerPort: 5111