blob: 0039aa6654213bab45a100861e52e05304d8f13e [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
jasmineWen09bc80d2018-03-21 18:21:17 +000020
21#################################################################
22# Application configuration defaults.
23#################################################################
24# application image
jasmineWen09bc80d2018-03-21 18:21:17 +000025image: consul:1.0.6
26pullPolicy: Always
27
28# flag to enable debugging - application support required
29debugEnabled: false
30
Priyanka Jain1fda9682018-05-09 08:42:50 +000031replicaCount: 3
jasmineWen09bc80d2018-03-21 18:21:17 +000032
33nodeSelector: {}
34
35affinity: {}
36
37# probe configuration parameters
38liveness:
Priyanka Jain1fda9682018-05-09 08:42:50 +000039 initialDelaySeconds: 10
40 periodSeconds: 5
jasmineWen09bc80d2018-03-21 18:21:17 +000041 # necessary to disable liveness probe when setting breakpoints
42 # in debugger so K8s doesn't restart unresponsive container
43 enabled: true
44
45readiness:
Priyanka Jain1fda9682018-05-09 08:42:50 +000046 initialDelaySeconds: 10
47 periodSeconds: 5
jasmineWen09bc80d2018-03-21 18:21:17 +000048
49service:
Priyanka Jain1fda9682018-05-09 08:42:50 +000050 type: ClusterIP
BorislavG1ffbd992018-04-24 07:56:27 +000051 name: consul-server
Priyanka Jain1fda9682018-05-09 08:42:50 +000052 portName: consul-join
53 internalPort: 8301
Sylvain Desbureaux4b5a4882020-03-02 13:42:31 +010054 type2: ClusterIP
Priyanka Jain1fda9682018-05-09 08:42:50 +000055 portName2: consul-ui
56 internalPort2: 8500
57 nodePort2: 70
jasmineWen09bc80d2018-03-21 18:21:17 +000058
59ingress:
60 enabled: false
61
Sylvain Desbureaux5e164012020-09-23 13:35:31 +020062#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
73resources:
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: {}