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.7 KiB

6 years ago
6 years ago
6 years ago
  1. replicaCount: 1
  2. clusterName: eshop-aks
  3. pathBase: /marketing-api
  4. image:
  5. repository: eshop/marketing.api
  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: EventBusConnection
  27. key: all__EventBusConnection
  28. - name: AzureServiceBusEnabled
  29. key: all__UseAzureServiceBus
  30. - name: UseLoadTest
  31. key: all_EnableLoadTest
  32. - name: IdentityUrl
  33. key: internalurls__IdentityUrl
  34. - name: IdentityUrlExternal
  35. key: urls__IdentityUrl
  36. - name: ConnectionString
  37. key: marketing__ConnectionString
  38. - name: MongoConnectionString
  39. key: marketing__MongoConnectionString
  40. - name: MongoDatabase
  41. key: marketing__MongoDatabase
  42. - name: PicBaseUrl
  43. key: marketing__PicBaseUrl
  44. # values define environment variables with a fixed value (no configmap involved) (name is name of var, and value is its value)
  45. values:
  46. - name: ASPNETCORE_ENVIRONMENT
  47. value: Development
  48. - name: OrchestratorType
  49. value: 'K8S'
  50. probes:
  51. liveness:
  52. path: /liveness
  53. initialDelaySeconds: 10
  54. periodSeconds: 15
  55. port: 80
  56. readiness:
  57. path: /hc
  58. timeoutSeconds: 5
  59. initialDelaySeconds: 90
  60. periodSeconds: 60
  61. port: 80