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.

70 lines
1.6 KiB

6 years ago
6 years ago
6 years ago
  1. replicaCount: 1
  2. clusterName: eshop-aks
  3. pathBase: /ordering-backgroundtasks
  4. image:
  5. repository: eshop/ordering.backgroundtasks
  6. tag: latest
  7. pullPolicy: IfNotPresent
  8. service:
  9. type: ClusterIP
  10. port: 80
  11. ingress:
  12. enabled: false
  13. annotations: {}
  14. hosts:
  15. - chart-example.local
  16. tls: []
  17. cfg:
  18. checkUpdateTime: "15000"
  19. gracePeriodTime: "1"
  20. resources: {}
  21. nodeSelector: {}
  22. tolerations: []
  23. affinity: {}
  24. # env defines the environment variables that will be declared in the pod
  25. env:
  26. urls:
  27. # 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).
  28. configmap:
  29. - name: ConnectionString
  30. key: ordering__ConnectionString
  31. - name: ApplicationInsights__InstrumentationKey
  32. key: all__InstrumentationKey
  33. - name: EventBusConnection
  34. key: all__EventBusConnection
  35. - name: AzureServiceBusEnabled
  36. key: all__UseAzureServiceBus
  37. - name: UseLoadTest
  38. key: ordering__EnableLoadTest
  39. - name: CheckUpdateTime
  40. key: graceperiodmanager__CheckUpdateTime
  41. - name: GracePeriodTime
  42. key: graceperiodmanager__GracePeriodTime
  43. # values define environment variables with a fixed value (no configmap involved) (name is name of var, and value is its value)
  44. values:
  45. - name: ASPNETCORE_ENVIRONMENT
  46. value: Development
  47. - name: OrchestratorType
  48. value: 'K8S'
  49. probes:
  50. liveness:
  51. path: /liveness
  52. initialDelaySeconds: 10
  53. periodSeconds: 15
  54. port: 80
  55. readiness:
  56. path: /hc
  57. timeoutSeconds: 5
  58. initialDelaySeconds: 90
  59. periodSeconds: 60
  60. port: 80