Skip to content

Commit 231fb83

Browse files
committed
fix: define resiliency policy
Signed-off-by: mikeee <[email protected]>
1 parent ff7603a commit 231fb83

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

tutorials/hello-kubernetes/dapr.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
version: 1
2+
common:
3+
resourcesPath: ./resources
24
apps:
35
- appDirPath: ./node
46
appID: nodeapp
@@ -7,4 +9,4 @@ apps:
79
createService: true
810
- appDirPath: ./python
911
appID: pythonapp
10-
containerImage: ghcr.io/dapr/samples/hello-k8s-python:latest
12+
containerImage: ghcr.io/dapr/samples/hello-k8s-python:latest
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
spec:
2+
policies:
3+
retries:
4+
# Global Retry Policy
5+
DefaultRetryPolicy:
6+
policy: constant
7+
duration: 1s
8+
maxRetries: -1

0 commit comments

Comments
 (0)