fix: define resiliency policy

Signed-off-by: mikeee <hey@mike.ee>
This commit is contained in:
mikeee 2024-07-25 12:06:25 +01:00
parent ff7603addd
commit 231fb83580
No known key found for this signature in database
GPG Key ID: ACED13988580D50E
2 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,6 @@
version: 1 version: 1
common:
resourcesPath: ./resources
apps: apps:
- appDirPath: ./node - appDirPath: ./node
appID: nodeapp appID: nodeapp
@ -7,4 +9,4 @@ apps:
createService: true createService: true
- appDirPath: ./python - appDirPath: ./python
appID: pythonapp appID: pythonapp
containerImage: ghcr.io/dapr/samples/hello-k8s-python:latest containerImage: ghcr.io/dapr/samples/hello-k8s-python:latest

View File

@ -0,0 +1,8 @@
spec:
policies:
retries:
# Global Retry Policy
DefaultRetryPolicy:
policy: constant
duration: 1s
maxRetries: -1