mirror of https://github.com/dapr/quickstarts.git
fix: define resiliency policy
Signed-off-by: mikeee <hey@mike.ee>
This commit is contained in:
parent
ff7603addd
commit
231fb83580
|
@ -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
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
spec:
|
||||||
|
policies:
|
||||||
|
retries:
|
||||||
|
# Global Retry Policy
|
||||||
|
DefaultRetryPolicy:
|
||||||
|
policy: constant
|
||||||
|
duration: 1s
|
||||||
|
maxRetries: -1
|
Loading…
Reference in New Issue