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.

65 lines
1.5 KiB

6 years ago
6 years ago
6 years ago
  1. replicaCount: 1
  2. clusterName: eshop-aks
  3. pathBase: /catalog-api
  4. image:
  5. repository: eshop/catalog.api
  6. tag: latest
  7. pullPolicy: IfNotPresent
  8. service:
  9. type: ClusterIP
  10. port: 5000
  11. grpc: 5001
  12. envoy: 80
  13. resources: {}
  14. nodeSelector: {}
  15. tolerations: []
  16. affinity: {}
  17. # env defines the environment variables that will be declared in the pod
  18. env:
  19. urls:
  20. # 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).
  21. configmap:
  22. - name: ConnectionString
  23. key: catalog__ConnectionString
  24. - name: PicBaseUrl
  25. key: catalog__PicBaseUrl
  26. - name: AzureStorageEnabled
  27. key: catalog__AzureStorageEnabled
  28. - name: ApplicationInsights__InstrumentationKey
  29. key: all__InstrumentationKey
  30. - name: EventBusConnection
  31. key: all__EventBusConnection
  32. - name: AzureServiceBusEnabled
  33. key: all__UseAzureServiceBus
  34. # values define environment variables with a fixed value (no configmap involved) (name is name of var, and value is its value)
  35. values:
  36. - name: ASPNETCORE_ENVIRONMENT
  37. value: Development
  38. - name: OrchestratorType
  39. value: 'K8S'
  40. - name: PORT
  41. value: "5000"
  42. - name: GRPC_PORT
  43. value: "5001"
  44. probes:
  45. liveness:
  46. path: /liveness
  47. initialDelaySeconds: 10
  48. periodSeconds: 15
  49. port: 5000
  50. readiness:
  51. path: /hc
  52. timeoutSeconds: 5
  53. initialDelaySeconds: 90
  54. periodSeconds: 60
  55. port: 5000