Merge "[DCAEMOD] Uses new tpls for repos / images"
[oom.git] / kubernetes / consul / charts / consul-server / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20
21 #################################################################
22 # Application configuration defaults.
23 #################################################################
24 # application image
25 image: consul:1.0.6
26 pullPolicy: Always
27
28 # flag to enable debugging - application support required
29 debugEnabled: false
30
31 replicaCount: 3
32
33 nodeSelector: {}
34
35 affinity: {}
36
37 # probe configuration parameters
38 liveness:
39   initialDelaySeconds: 10
40   periodSeconds: 5
41   # necessary to disable liveness probe when setting breakpoints
42   # in debugger so K8s doesn't restart unresponsive container
43   enabled: true
44
45 readiness:
46   initialDelaySeconds: 10
47   periodSeconds: 5
48
49 service:
50   type: ClusterIP
51   name: consul-server
52   portName: consul-join
53   internalPort: 8301
54   type2: ClusterIP
55   portName2: consul-ui
56   internalPort2: 8500
57   nodePort2: 70
58
59 ingress:
60   enabled: false
61
62 #resources: {}
63   # We usually recommend not to specify default resources and to leave this as a conscious
64   # choice for the user. This also increases chances charts run on environments with little
65   # resources, such as Minikube. If you do want to specify resources, uncomment the following
66   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
67   #
68   # Example:
69   # Configure resource requests and limits
70   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
71   # Minimum memory for development is 2 CPU cores and 4GB memory
72   # Minimum memory for production is 4 CPU cores and 8GB memory
73 resources:
74   small:
75     limits:
76       cpu: 100m
77       memory: 100Mi
78     requests:
79       cpu: 30m
80       memory: 25Mi
81   large:
82     limits:
83       cpu: 2
84       memory: 4Gi
85     requests:
86       cpu: 1
87       memory: 2Gi
88   unlimited: {}