BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 1 | ################################################################# |
| 2 | # Global configuration defaults. |
| 3 | ################################################################# |
| 4 | global: |
| 5 | nodePortPrefix: 302 |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 6 | |
| 7 | ################################################################# |
| 8 | # Application configuration defaults. |
| 9 | ################################################################# |
| 10 | # application image |
| 11 | dockerHubRepository: registry.hub.docker.com |
| 12 | image: library/consul:0.9.3 |
| 13 | pullPolicy: Always |
Huabing Zhao | 81b8976 | 2018-07-30 06:33:03 +0000 | [diff] [blame] | 14 | istioSidecar: true |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 15 | |
| 16 | # application configuration |
| 17 | config: {} |
| 18 | |
| 19 | # default number of instances |
| 20 | replicaCount: 1 |
| 21 | |
| 22 | nodeSelector: {} |
| 23 | |
| 24 | affinity: {} |
| 25 | |
| 26 | # probe configuration parameters |
| 27 | liveness: |
| 28 | initialDelaySeconds: 10 |
| 29 | periodSeconds: 10 |
| 30 | # necessary to disable liveness probe when setting breakpoints |
| 31 | # in debugger so K8s doesn't restart unresponsive container |
| 32 | enabled: true |
| 33 | |
| 34 | readiness: |
| 35 | initialDelaySeconds: 10 |
| 36 | periodSeconds: 10 |
| 37 | |
| 38 | service: |
| 39 | type: NodePort |
| 40 | name: msb-consul |
| 41 | externalPort: 8500 |
| 42 | internalPort: 8500 |
| 43 | nodePort: 85 |
| 44 | |
| 45 | ingress: |
| 46 | enabled: false |
| 47 | |
| 48 | resources: {} |
| 49 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 50 | # choice for the user. This also increases chances charts run on environments with little |
| 51 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 52 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 53 | # |
| 54 | # Example: |
| 55 | # Configure resource requests and limits |
| 56 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 57 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 58 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 59 | #resources: |
| 60 | # limits: |
| 61 | # cpu: 2 |
| 62 | # memory: 4Gi |
| 63 | # requests: |
| 64 | # cpu: 2 |
| 65 | # memory: 4Gi |