forked from dotnet-architecture/eShopOnContainers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbasket-api-sp.yaml
More file actions
42 lines (42 loc) · 1 KB
/
Copy pathbasket-api-sp.yaml
File metadata and controls
42 lines (42 loc) · 1 KB
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
apiVersion: linkerd.io/v1alpha2
kind: ServiceProfile
metadata:
creationTimestamp: null
name: basket-api.default.svc.cluster.local
namespace: default
spec:
routes:
- condition:
method: GET
pathRegex: /basket-api/api/v1/basket/[^/]*
name: GET Basket {id}
isRetryable: true
- condition:
method: GET
pathRegex: /hc
name: GET /hc
isRetryable: false
- condition:
method: GET
pathRegex: /liveness
name: GET /liveness
isRetryable: false
- condition:
method: POST
pathRegex: /BasketApi\.Basket/GetBasketById
name: POST /BasketApi.Basket/GetBasketById
isRetryable: true
- condition:
method: POST
pathRegex: /BasketApi\.Basket/UpdateBasket
name: POST /BasketApi.Basket/UpdateBasket
isRetryable: true
- condition:
method: POST
pathRegex: /basket-api/api/v1/basket/checkout
name: POST /v1/basket/checkout
isRetryable: true
retryBudget:
retryRatio: 0.2
minRetriesPerSecond: 10
ttl: 10s