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.

57 lines
1.3 KiB

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