-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure-dapr.yaml
44 lines (44 loc) · 1.04 KB
/
configure-dapr.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
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: dashboard
namespace: dapr-system
spec:
ingressClassName: nginx
rules:
- host: dapr.dev-k8s.cloud
http:
paths:
- backend:
service:
name: dapr-dashboard
port:
number: 8080
path: /
pathType: Prefix
# Please edit the object below. Lines beginning with a '#' will be ignored,
# and an empty file will abort the edit. If an error occurs while saving this file will be
# reopened with the relevant failures.
#
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /v1.0/invoke/backend.default/method/
name: backend
namespace: ingress-nginx
spec:
ingressClassName: nginx
rules:
- host: backend.dev-k8s.cloud
http:
paths:
- backend:
service:
name: nginx-ingress-dapr
port:
number: 80
path: /
pathType: ImplementationSpecific
---