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.

63 lines
1.4 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: 80
  11. grpcPort: 81
  12. resources: {}
  13. nodeSelector: {}
  14. tolerations: []
  15. affinity: {}
  16. # env defines the environment variables that will be declared in the pod
  17. env:
  18. urls:
  19. # 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).
  20. configmap:
  21. - name: ConnectionString
  22. key: catalog__ConnectionString
  23. - name: PicBaseUrl
  24. key: catalog__PicBaseUrl
  25. - name: AzureStorageEnabled
  26. key: catalog__AzureStorageEnabled
  27. - name: ApplicationInsights__InstrumentationKey
  28. key: all__InstrumentationKey
  29. - name: EventBusConnection
  30. key: all__EventBusConnection
  31. - name: AzureServiceBusEnabled
  32. key: all__UseAzureServiceBus
  33. # values define environment variables with a fixed value (no configmap involved) (name is name of var, and value is its value)
  34. values:
  35. - name: ASPNETCORE_ENVIRONMENT
  36. value: Development
  37. - name: OrchestratorType
  38. value: 'K8S'
  39. - name: PORT
  40. value: "80"
  41. - name: GRPC_PORT
  42. value: "81"
  43. probes:
  44. liveness:
  45. path: /liveness
  46. initialDelaySeconds: 10
  47. periodSeconds: 15
  48. port: 80
  49. readiness:
  50. path: /hc
  51. timeoutSeconds: 5
  52. initialDelaySeconds: 90
  53. periodSeconds: 60
  54. port: 80