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.

79 lines
1.9 KiB

6 years ago
6 years ago
6 years ago
  1. replicaCount: 1
  2. clusterName: eshop-aks
  3. pathBase: /webshoppingagg
  4. image:
  5. repository: eshop/webshoppingagg
  6. tag: latest
  7. pullPolicy: IfNotPresent
  8. service:
  9. type: ClusterIP
  10. port: 80
  11. ingress:
  12. enabled: false
  13. annotations: {}
  14. tls: []
  15. resources: {}
  16. nodeSelector: {}
  17. tolerations: []
  18. affinity: {}
  19. # env defines the environment variables that will be declared in the pod
  20. env:
  21. urls:
  22. # configmap declares variables which value is taken from the config map defined in template configmap.yaml (name is name of var and key the key in configmap).
  23. configmap:
  24. - name: ApplicationInsights__InstrumentationKey
  25. key: all__InstrumentationKey
  26. - name: urls__basket
  27. key: internalurls__basket
  28. - name: urls__catalog
  29. key: internalurls__catalog
  30. - name: urls__orders
  31. key: internalurls__ordering
  32. - name: urls__identity
  33. key: internalurls__identity
  34. - name: CatalogUrlHC
  35. key: internalurls__catalog__hc
  36. - name: BasketUrlHC
  37. key: internalurls__basket__hc
  38. - name: IdentityUrlHC
  39. key: internalurls__identity__hc
  40. - name: OrderingUrlHC
  41. key: internalurls__ordering__hc
  42. - name: MarketingUrlHC
  43. key: internalurls__marketing__hc
  44. - name: PaymentUrlHC
  45. key: internalurls__payment__hc
  46. - name: LocationUrlHC
  47. key: internalurls__location__hc
  48. # values define environment variables with a fixed value (no configmap involved) (name is name of var, and value is its value)
  49. values:
  50. - name: ASPNETCORE_ENVIRONMENT
  51. value: Development
  52. - name: ASPNETCORE_URLS
  53. value: http://0.0.0.0:80
  54. - name: OrchestratorType
  55. value: 'K8S'
  56. - name: IsClusterEnv
  57. value: 'True'
  58. probes:
  59. liveness:
  60. path: /liveness
  61. initialDelaySeconds: 10
  62. periodSeconds: 15
  63. port: 80
  64. readiness:
  65. path: /hc
  66. timeoutSeconds: 5
  67. initialDelaySeconds: 90
  68. periodSeconds: 60
  69. port: 80