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.

66 lines
1.5 KiB

6 years ago
6 years ago
6 years ago
  1. replicaCount: 1
  2. clusterName: eshop-aks
  3. pathBase: /locations-api
  4. image:
  5. repository: eshop/locations.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: locations__ConnectionString
  38. - name: Database
  39. key: locations__Database
  40. # values define environment variables with a fixed value (no configmap involved) (name is name of var, and value is its value)
  41. values:
  42. - name: ASPNETCORE_ENVIRONMENT
  43. value: Development
  44. - name: OrchestratorType
  45. value: 'K8S'
  46. probes:
  47. liveness:
  48. path: /liveness
  49. initialDelaySeconds: 10
  50. periodSeconds: 15
  51. port: 80
  52. readiness:
  53. path: /hc
  54. timeoutSeconds: 5
  55. initialDelaySeconds: 90
  56. periodSeconds: 60
  57. port: 80