forked from dapr/dapr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.yaml
47 lines (47 loc) · 857 Bytes
/
demo.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: Deployment
apiVersion: apps/v1
metadata:
name: foo
spec:
template:
metadata:
annotations:
dapr.io/enabled: 'true'
dapr.io/app-id: foo
dapr.io/app-port: '8000'
labels:
app: foo
spec:
dnsPolicy: "Default"
containers:
- name: foo
image: acejilam/example:latest
args:
- "/app/foo.py"
selector:
matchLabels:
app: foo
---
kind: Deployment
apiVersion: apps/v1
metadata:
name: bar
spec:
template:
metadata:
annotations:
dapr.io/enabled: 'true'
dapr.io/app-id: bar
dapr.io/app-port: '8000'
labels:
app: bar
spec:
containers:
- name: bar
image: acejilam/example:latest
args:
- "/app/bar.py"
selector:
matchLabels:
app: bar