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