[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   readinessImage: onap/oom/readiness:3.0.1
21   loggingRepository: docker.elastic.co
22   loggingImage: beats/filebeat:5.5.0
23
24 #################################################################
25 # Application configuration defaults.
26 #################################################################
27 # application image
28 repository: docker.io
29 image: consul:1.0.6
30 pullPolicy: Always
31
32 # flag to enable debugging - application support required
33 debugEnabled: false
34
35 replicaCount: 3
36
37 nodeSelector: {}
38
39 affinity: {}
40
41 # probe configuration parameters
42 liveness:
43   initialDelaySeconds: 10
44   periodSeconds: 5
45   # necessary to disable liveness probe when setting breakpoints
46   # in debugger so K8s doesn't restart unresponsive container
47   enabled: true
48
49 readiness:
50   initialDelaySeconds: 10
51   periodSeconds: 5
52
53 service:
54   type: ClusterIP
55   name: consul-server
56   portName: consul-join
57   internalPort: 8301
58   type2: ClusterIP
59   portName2: consul-ui
60   internalPort2: 8500
61   nodePort2: 70
62
63 ingress:
64   enabled: false
65
66 #resources: {}
67   # We usually recommend not to specify default resources and to leave this as a conscious
68   # choice for the user. This also increases chances charts run on environments with little
69   # resources, such as Minikube. If you do want to specify resources, uncomment the following
70   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
71   #
72   # Example:
73   # Configure resource requests and limits
74   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
75   # Minimum memory for development is 2 CPU cores and 4GB memory
76   # Minimum memory for production is 4 CPU cores and 8GB memory
77 resources:
78   small:
79     limits:
80       cpu: 100m
81       memory: 100Mi
82     requests:
83       cpu: 30m
84       memory: 25Mi
85   large:
86     limits:
87       cpu: 2
88       memory: 4Gi
89     requests:
90       cpu: 1
91       memory: 2Gi
92   unlimited: {}