blob: 48a26effd7ff688ad1e2f20a493e75d9fc514aa5 [file] [log] [blame]
jasmineWen09bc80d2018-03-21 18:21:17 +00001# Copyright © 2017 Amdocs, Bell Canada
Mukul2b4e7532018-08-03 10:41:29 +00002# Modifications Copyright © 2018 AT&T
jasmineWen09bc80d2018-03-21 18:21:17 +00003#
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#################################################################
18global:
19 nodePortPrefix: 302
Krzysztof Opasiak217acfd2020-11-25 16:54:36 +010020 repository: nexus3.onap.org:10001
jasmineWen09bc80d2018-03-21 18:21:17 +000021
22#################################################################
23# Application configuration defaults.
24#################################################################
25# application image
Krzysztof Opasiak217acfd2020-11-25 16:54:36 +010026image: onap/oom/consul:2.1.0
jasmineWen09bc80d2018-03-21 18:21:17 +000027pullPolicy: Always
28
29# flag to enable debugging - application support required
30debugEnabled: false
31
Priyanka Jain1fda9682018-05-09 08:42:50 +000032replicaCount: 3
jasmineWen09bc80d2018-03-21 18:21:17 +000033
34nodeSelector: {}
35
36affinity: {}
37
38# probe configuration parameters
39liveness:
Priyanka Jain1fda9682018-05-09 08:42:50 +000040 initialDelaySeconds: 10
41 periodSeconds: 5
jasmineWen09bc80d2018-03-21 18:21:17 +000042 # necessary to disable liveness probe when setting breakpoints
43 # in debugger so K8s doesn't restart unresponsive container
44 enabled: true
45
46readiness:
Priyanka Jain1fda9682018-05-09 08:42:50 +000047 initialDelaySeconds: 10
48 periodSeconds: 5
jasmineWen09bc80d2018-03-21 18:21:17 +000049
50service:
Priyanka Jain1fda9682018-05-09 08:42:50 +000051 type: ClusterIP
BorislavG1ffbd992018-04-24 07:56:27 +000052 name: consul-server
Priyanka Jain1fda9682018-05-09 08:42:50 +000053 portName: consul-join
54 internalPort: 8301
Sylvain Desbureaux4b5a4882020-03-02 13:42:31 +010055 type2: ClusterIP
Priyanka Jain1fda9682018-05-09 08:42:50 +000056 portName2: consul-ui
57 internalPort2: 8500
58 nodePort2: 70
jasmineWen09bc80d2018-03-21 18:21:17 +000059
60ingress:
61 enabled: false
62
Sylvain Desbureaux5e164012020-09-23 13:35:31 +020063#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
74resources:
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: {}
Krzysztof Opasiak217acfd2020-11-25 16:54:36 +010090
91securityContext:
92 fsGroup: 1000
93 runAsUser: 100
94 runAsGroup: 1000