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.

46 lines
1.2 KiB

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