You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.0 KiB

  1. apiVersion: linkerd.io/v1alpha2
  2. kind: ServiceProfile
  3. metadata:
  4. creationTimestamp: null
  5. name: basket-api.default.svc.cluster.local
  6. namespace: default
  7. spec:
  8. routes:
  9. - condition:
  10. method: GET
  11. pathRegex: /basket-api/api/v1/basket/[^/]*
  12. name: GET Basket {id}
  13. isRetryable: true
  14. - condition:
  15. method: GET
  16. pathRegex: /hc
  17. name: GET /hc
  18. isRetryable: false
  19. - condition:
  20. method: GET
  21. pathRegex: /liveness
  22. name: GET /liveness
  23. isRetryable: false
  24. - condition:
  25. method: POST
  26. pathRegex: /BasketApi\.Basket/GetBasketById
  27. name: POST /BasketApi.Basket/GetBasketById
  28. isRetryable: true
  29. - condition:
  30. method: POST
  31. pathRegex: /BasketApi\.Basket/UpdateBasket
  32. name: POST /BasketApi.Basket/UpdateBasket
  33. isRetryable: true
  34. - condition:
  35. method: POST
  36. pathRegex: /basket-api/api/v1/basket/checkout
  37. name: POST /v1/basket/checkout
  38. isRetryable: true
  39. retryBudget:
  40. retryRatio: 0.2
  41. minRetriesPerSecond: 10
  42. ttl: 10s