diff --git a/tutorials/hello-kubernetes/dapr.yaml b/tutorials/hello-kubernetes/dapr.yaml index dcf9ee929..cd596e0f5 100644 --- a/tutorials/hello-kubernetes/dapr.yaml +++ b/tutorials/hello-kubernetes/dapr.yaml @@ -1,4 +1,6 @@ version: 1 +common: + resourcesPath: ./resources apps: - appDirPath: ./node appID: nodeapp @@ -7,4 +9,4 @@ apps: createService: true - appDirPath: ./python appID: pythonapp - containerImage: ghcr.io/dapr/samples/hello-k8s-python:latest \ No newline at end of file + containerImage: ghcr.io/dapr/samples/hello-k8s-python:latest diff --git a/tutorials/hello-kubernetes/resources/resiliency.yaml b/tutorials/hello-kubernetes/resources/resiliency.yaml new file mode 100644 index 000000000..b5248469b --- /dev/null +++ b/tutorials/hello-kubernetes/resources/resiliency.yaml @@ -0,0 +1,8 @@ +spec: + policies: + retries: + # Global Retry Policy + DefaultRetryPolicy: + policy: constant + duration: 1s + maxRetries: -1